UserMessagingModel class
- Annotations
-
- @JsonSerializable(ignoreUnannotated: true)
Constructors
-
UserMessagingModel.new({String? uid, DocumentSnapshot<
Object?> ? snapshot, String? userId, double? createdAt, double? updatedAt, Map<String, FCMToken> ? fcmTokens}) -
UserMessagingModel.fromDocumentSnapshot(DocumentSnapshot<
Map< snapshot)String, dynamic> > -
factory
-
UserMessagingModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createdAt → double?
-
final
-
fcmTokens
→ Map<
String, FCMToken> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
snapshot
↔ DocumentSnapshot<
Object?> ? -
getter/setter pair
- uid ↔ String?
-
getter/setter pair
- updatedAt → double?
-
final
- userId → String?
-
final
Methods
-
copyWith(
{String? uid, DocumentSnapshot< Object?> ? snapshot, String? userId, Map<String, FCMToken> ? fcmTokens, double? createdAt, double? updatedAt}) → dynamic -
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