Safety<V extends Object> class

Result とは対照的に 必ず 成功した結果を返すことを示す型.
V で void を指定したい場合, 代わりに Complete を指定する.

Inheritance

Constructors

Safety(V wrapped, Type? classLocation, String? functionLocation, Map<String, dynamic> monitor, Map<String, dynamic> debug, Iterable<Log> histories)

Properties

classLocation String
finalinherited
debug Map<String, dynamic>
開発時のみに記録する data.
finalinherited
functionLocation String
finalinherited
hashCode int
toMap() に依存.
no setterinherited
historyList HistoryList
finalinherited
location String
no setterinherited
message List<String>
no setterinherited
monitor Map<String, dynamic>
本番時および開発時に記録する data.
finalinherited
resultType Type
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wrapped → V
final

Methods

change({V? wrapped, Type? classLocation, String? functionLocation, Map<String, dynamic>? monitor, Map<String, dynamic>? debug, Iterable<Log>? histories}) Safety<V>
override
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>
定義例:
inherited
toMapShortHand() Map<String, dynamic>
LogSetting.toYamlStringShortHand 用の map の生成.
inherited
toMapShortHandA() Map<String, dynamic>
inherited
toString() String
toMap() に依存.
inherited

Operators

operator ==(dynamic other) bool
instance properties の toString() をそれぞれ比較し合う。 toMap(), [] operator に依存.
inherited
operator [](String key) Object
toMap() から、operator == の内容を自動更新できるようにするために定義している.
inherited