MessagesModel class

メッセージ一覧 変換時は、受信日の降順でソートすること

Annotations

Constructors

MessagesModel({required List<MessageModel> messages})
factory

Properties

copyWith → $MessagesModelCopyWith<MessagesModel>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
length → dynamic
メッセージの数
no setter
messages List<MessageModel>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isSameDate(int index) bool
前のメッセージと同じ日付の場合はtrueを返す 日付表示のためのフラグとする
message(int index) MessageModel
メッセージ
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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