CancelledModel class

Constructors

CancelledModel({required DateTime date, required String reason})
Returns a new CancelledModel instance.

Properties

date DateTime
final
hashCode int
The hash code for this object.
no setteroverride
reason String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) CancelledModel
Returns a new CancelledModel instance and imports its values from value if it's a Map, null otherwise.
mapFromJson(dynamic json) Map<String, CancelledModel>