Log constructor
Log({})
Implementation
Log({
// runtimeType による指定も便利なので捨てがたい.
// String と Type による両方の指定を受け付けれる形式にした.
// toString() を実行すれば 正しい String 型で収まる.
Object classLocation = '',
this.functionLocation = '',
// const にすると 内部的に unmodifiabl map and list になり 編集できなくなる.
Map<String, dynamic>? monitor,
Map<String, dynamic>? debug,
List<History>? historyList,
})
:
classLocation = classLocation.toString()
,_monitor = monitor ?? {}
,_debug = debug ?? {}
,_historyList = historyList ?? []
;