Failure<V extends Object, E extends Exception> class

Inheritance

Constructors

Failure.new(E wrapped, Type? classLocation, String? functionLocation, Map<String, dynamic> monitor, Map<String, dynamic> debug, Iterable<Log> histories)

Properties

asError → E
no setteroverride
asValue → V?
no setteroverride
classLocation String
finalinherited
debug Map<String, dynamic>
開発時のみに記録する data.
finalinherited
errorType Type
no setterinherited
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 setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueType Type
no setterinherited
wrapped → E
final

Methods

change({E? wrapped, Type? classLocation, String? functionLocation, Map<String, dynamic>? monitor, Map<String, dynamic>? debug, Iterable<Log>? histories}) Failure<V, E>
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