LifeRoadEntity class
- Implemented types
- Annotations
Constructors
-
LifeRoadEntity({@required @DocumentReferenceConverter() DocumentReference author, @required @_LifeEventsConverter() List<
List< lifeEvents, @TimestampConverter() DateTime createdAt, @TimestampConverter() DateTime updatedAt, @Default('') String title})LifeEventEntity< >LifeEventParams> > -
factory
-
LifeRoadEntity.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
@DocumentReferenceConverter(), read-only, inherited
-
copyWith
→ $LifeRoadEntityCopyWith<
LifeRoadEntity> -
read-only, inherited
- createdAt → DateTime
-
@TimestampConverter(), read-only, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- height → int
-
Y 方向の長さ
@late, read-only
-
lifeEvents
→ List<
List< LifeEventEntity< >LifeEventParams> > -
@_LifeEventsConverter(), read-only, inherited
-
lifeStepsOnBoard
→ List<
List< LifeStepEntity> > -
lifeEvents を二次元配列として展開かつ LifeStepEntity として解釈済みのもの
@late, read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- start → LifeStepEntity
-
Start
@late, read-only
- title → String
-
read-only, inherited
- updatedAt → DateTime
-
@TimestampConverter(), read-only, inherited
- width → int
-
X 方向の長さ
@late, read-only
Methods
-
dump(
) → String - lifeEvents を人間が読める文字列として出力する
-
encode(
) → Map< String, dynamic> -
Store に保存する形式へのエンコード
override
-
getPosition(
LifeStepEntity lifeStep) → Position - LifeStep の座標を取得する
-
getStepEntity(
LifeStageEntity lifeStage) → LifeStepEntity -
id を元に取得
@late
-
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
-
createLifeStepsOnBoard(
List< List< lifeEvents) → List<LifeEventEntity< >LifeEventParams> >List< LifeStepEntity> > - LifeEvent の二次元配列から LifeStep の二次元配列を作るヘルパー
-
decode(
Store store, DocumentSnapshot snapshot) → Doc< LifeRoadEntity> -
dummyLifeEvents(
) → List< List< LifeEventEntity< >LifeEventParams> > - FIXME: いつか消す