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