LifeStageEntity class

Implemented types
Annotations

Constructors

LifeStageEntity({@required @DocumentReferenceConverter() DocumentReference human, @required @_UnmodifiableSetViewConverter() UnmodifiableSetView<LifeItemEntity> items, @required String currentLifeStepId, @TimestampConverter() DateTime createdAt, @TimestampConverter() DateTime updatedAt})
const
factory
LifeStageEntity.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith $LifeStageEntityCopyWith<LifeStageEntity>
read-only, inherited
createdAt DateTime
@TimestampConverter(), read-only, inherited
currentLifeStepId String
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
human DocumentReference
@DocumentReferenceConverter(), read-only, inherited
items UnmodifiableSetView<LifeItemEntity>
@_UnmodifiableSetViewConverter(), read-only, inherited
possession int
所持金
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt DateTime
@TimestampConverter(), read-only, inherited

Methods

encode() Map<String, dynamic>
Store に保存する形式へのエンコード
override
fetchHuman(Store store) Future<Doc<UserEntity>>
この人生の進捗を歩んでる human を取得する
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. [...]
inherited

Static Methods

decode(Store store, DocumentSnapshot snapshot) Doc<LifeStageEntity>