ChatModel class
Constructors
Properties
- accessibleByGroup ↔ ChatAccessibleByGroup?
-
getter/setter pair
-
accessibleByMembers
↔ List<
String> ? -
getter/setter pair
- appId ↔ String
-
getter/setter pairoverride
-
getter/setter pair
-
chatMedia
↔ List<
ChatMediumModel> ? -
getter/setter pair
- documentID ↔ String
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setteroverride
-
readAccess
↔ List<
String> ? -
getter/setter pair
- roomId ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saying ↔ String?
-
getter/setter pair
- timestamp ↔ DateTime?
-
getter/setter pair
Methods
-
collectReferences(
{String? appId}) → Future< List< ModelReference> > -
override
-
copyWith(
{String? documentID, String? authorId, String? appId, String? roomId, DateTime? timestamp, String? saying, ChatAccessibleByGroup? accessibleByGroup, List< String> ? accessibleByMembers, List<String> ? readAccess, List<ChatMediumModel> ? chatMedia}) → ChatModel -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEntity(
{String? appId}) → ChatEntity -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromEntity(
String documentID, ChatEntity? entity) → Future< ChatModel?> -
fromEntityPlus(
String documentID, ChatEntity? entity, {String? appId}) → Future< ChatModel?>
Constants
- id → const String
- packageName → const String