UserEntity class

Implemented types
Annotations

Constructors

UserEntity({@required String uid, @required String displayName, @required @TimestampConverter() DateTime createdAt, @required @TimestampConverter() DateTime updatedAt, @DocumentReferenceConverter() DocumentReference joinPlayRoom})
const
factory
UserEntity.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $UserEntityCopyWith<UserEntity>
read-only, inherited
createdAt → DateTime
@TimestampConverter(), read-only, inherited
displayName → String
read-only, inherited
hashCode → int
The hash code for this object. [...]
read-only, override
joinPlayRoom → DocumentReference
@DocumentReferenceConverter(), read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
uid → String
read-only, inherited
updatedAt → DateTime
@TimestampConverter(), read-only, inherited

Methods

encode() → Map<String, dynamic>
Store に保存する形式へのエンコード
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() → Map<String, dynamic>
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
override

Static Methods

decode(Store store, DocumentSnapshot snapshot) → Doc<UserEntity>