PropertyLaps class final
iterable symbol に紐づけられた値を取り出すのに必要な数字. 必ず 1 以上の 整数であること.
- Mixed-in types
-
- ValuePattern<
int>
- ValuePattern<
Constructors
- PropertyLaps.new(int value)
- PropertyLaps.one()
-
const
- PropertyLaps.three()
-
const
- PropertyLaps.two()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
properties
→ Map<
String, Object> -
inactivate(), = operator, [] operator, など に依存されている.
no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
increment(
) → PropertyLaps -
safety method.
1 が加算される.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toIndex(
) → int -
safety method.
value から 1 を引いた数になる.
最小値で 0 となる.
-
toJson(
) → Map< String, dynamic> -
ここでの toJson とは json へ encode 可能な形式へ変換するという意味で使われる.
つまり json string を返すというわけではない.
また serialize としても利用するため deserialize 可能でなければならない.
inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
runtimeType and toString() are compared.
inherited
Static Methods
-
result(
int value) → Danger< PropertyLaps, PropertyLapsExceptionA>