Message class

Annotations
  • @JsonSerializable(nullable: false)

Constructors

Message(String? from, String? text, {int? time, int? readTimeSeconds})
Message.fromJson(Map<String, dynamic> json)
factory

Properties

from String?
final
hashCode int
The hash code for this object.
no setterinherited
readTimeSeconds int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String?
getter/setter pair
time int?
getter/setter pair

Methods

getHourMinute() String
getTotalReadTime() int
isEnd() bool
isStart() bool
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.
inherited

Operators

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