History class final
Uneditable form.
Constructors
-
History(String resultType, List<
String> message, String classLocation, String functionLocation, Map<String, dynamic> _monitor, Map<String, dynamic> _debug, List<History> _historyList) -
const
-
History.fromLog(String resultType, List<
String> message, Log log) - History.fromResult(LoggerResultInterface loggerResult)
-
factory
Properties
- classLocation → String
-
final
- functionLocation → String
-
final
- hashCode → int
-
properties に依存.
no setterinherited
- location → String
-
no setterinherited
-
message
→ List<
String> -
Result.wrapped が LoggerResultMessageSignature を実装していた場合 message に保持される.
final
-
properties
→ Map<
String, Object> -
inactivate(), = operator, [] operator, など に依存されている.
no setteroverride - resultType → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
change(
{String? resultType, List< String> ? message, String? classLocation, String? functionLocation, Map<String, dynamic> ? monitor, Map<String, dynamic> ? debug, List<History> ? historyList}) → History - for test.
-
getDebug(
) → Map< String, dynamic> -
inherited
-
getHistory(
Object classLocation, String functionLocation) → List< History> -
inherited
-
getHistoryList(
) → List< History> -
inherited
-
getMonitor(
) → Map< String, dynamic> -
inherited
-
mold(
) → Map< String, dynamic> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toInactivatedJson(
) → Map< String, dynamic> -
test 時に 等価比較が行えるように 一部の property 値を無効化する(一定の値に変更する)処理を加えた json を出力する.
例えば process id など, system によって割り振られる値をこちらで指定できないので このような場合に利用する.
inherited -
toJson(
) → Map< String, dynamic> -
ここでの toJson とは json へ encode 可能な形式へ変換するという意味で使われる.
つまり json string を返すというわけではない.
また serialize としても利用するため deserialize 可能でなければならない.
inherited -
toNestedStructureMap(
) → KeyValueRoster< String, Object> -
条件分岐で利用するため用意した.
inherited
-
toString(
) → String -
properties に依存.
inherited
Operators
-
operator ==(
Object other) → bool -
instance properties の toString() をそれぞれ比較し合う。
properties, [] operator に依存.
inherited
-
operator [](
String key) → Object -
properties から、operator == の内容を自動更新できるようにするために定義している.
inherited