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

final

creatorUser

final

deadlineString?

final

descriptionString?

final

eventEvent

final

hashCodeint

The hash code for this object.
read-onlyinherited

idString

final

runtimeTypeType

A representation of the runtime type of the object.
read-onlyinherited

titleString

final

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
inherited

toString() String

A string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited