MessageData class

Constructors

MessageData({List<Map<String, dynamic>>? text = const [], required String task})
Returns a new MessageData instance.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
task String
getter/setter pair
text List<Map<String, dynamic>>?
getter/setter pair

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(Map<String, dynamic>? json) MessageData?
Returns a new MessageData instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List? json) List<MessageData>
mapFromJson(Map<String, dynamic>? json) Map<String, MessageData>
mapListFromJson(Map<String, dynamic>? json) Map<String, List<MessageData>>