LifeItemEntity class
Constructors
- LifeItemEntity({@required LifeItemType type, @required int amount, @Default('') String key})
-
constfactory
-
LifeItemEntity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- amount → int
-
read-only, inherited
-
copyWith
→ $LifeItemEntityCopyWith<
LifeItemEntity> -
read-only, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- key → String
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type → LifeItemType
-
read-only, inherited
Methods
-
equalToTarget(
Object object) → bool - FIXME: == の override は現状機能してない。↓の issue が対応されたら使う。 See: https://github.com/rrousselGit/freezed/issues/221
-
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