Formatter<T extends Object> class
- Mixed-in types
-
- AggregationPattern
Constructors
-
Formatter.new(T base, String toJsonHead(T), Map<
String, Object> toJsonBody(T))
Properties
- base → T
-
final
- hashCode → int
-
toMap() に依存.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toJsonBody
→ Map<
String, dynamic> Function(T) -
final
- toJsonHead → String Function(T)
-
final
Methods
-
baseToJson(
) → Map< String, dynamic> -
baseToJsonString(
) → String -
baseToYamlString(
{int indentSize = 4, bool allowUnquotedStrings = true}) → String -
change(
{T? base, String toJsonHead(T)?, Map< String, dynamic> toJsonBody(T)?}) → Formatter<T> -
inactivate(
) → Map< String, Object> -
test で等価性を判断する時に 無効にしたい場合に利用する.
無効化された値を返す.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> -
inherited
-
toMap(
) → Map< String, Object> -
定義例:
override
-
toString(
) → String -
toMap() に依存.
inherited
Operators
-
operator ==(
dynamic other) → bool -
instance properties の toString() をそれぞれ比較し合う。
toMap(), [] operator に依存.
inherited
-
operator [](
String key) → Object -
toMap() から、operator == の内容を自動更新できるようにするために定義している.
inherited
Static Methods
-
loggerResultDefault(
Log base) → Formatter< Log> -
toJsonString(
dynamic target) → String -
toYamlString(
dynamic target, {int indentSize = 4, bool allowUnquotedStrings = true}) → String