Skip to main content

Task class

Constructors

Task ({required String id, required String title, required User creator, required Event event, required String createdAt, String? description, String? deadline})

const

Task.fromJson (Map<String, dynamic> json)

/Creating a new Task instance from a map structure. factory

Properties

createdAtString

<span class="feature">final</span>

creatorUser

<span class="feature">final</span>

deadlineString?

<span class="feature">final</span>

descriptionString?

<span class="feature">final</span>

eventEvent

<span class="feature">final</span>

hashCodeint

The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>

idString

<span class="feature">final</span>

runtimeTypeType

A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>

titleString

<span class="feature">final</span>

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>

toString() String

A string representation of this object.
<span class="feature">inherited</span>

Operators

operator ==(Object other) bool

The equality operator.
<span class="feature">inherited</span>