ChatEntity class

Constructors

ChatEntity({required String? authorId, required String? appId, String? roomId, Object? timestamp, String? saying, int? accessibleByGroup, List<String>? accessibleByMembers, List<String>? readAccess, List<ChatMediumEntity>? chatMedia})

Properties

accessibleByGroup → int?
final
accessibleByMembers → List<String>?
final
appId → String?
final
authorId → String?
final
chatMedia → List<ChatMediumEntity>?
final
hashCode → int
The hash code for this object.
no setterinherited
props → List<Object?>
no setter
readAccess → List<String>?
final
roomId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saying → String?
final
timestamp → Object?
final

Methods

copyWith({String? documentID, String? authorId, String? appId, String? roomId, Object? timestamp, String? saying, int? accessibleByGroup, List<String>? accessibleByMembers, List<String>? readAccess, List<ChatMediumEntity>? chatMedia}) → ChatEntity
enrichedDocument(Map<String, Object?> theDocument) → Future<Map<String, Object?>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
switchAppId({required String newAppId}) → ChatEntity
override
toDocument() → Map<String, Object?>
override
toJsonString() → String
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

fromJsonString(String json, {Map<String, String>? newDocumentIds}) → ChatEntity?
fromMap(Object? o, {Map<String, String>? newDocumentIds}) → ChatEntity?