Error.fromJson constructor
Error.fromJson(
- Map json_
Implementation
Error.fromJson(core.Map json_)
: this(
details: json_.containsKey('details')
? (json_['details'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
errorTime: json_.containsKey('errorTime')
? json_['errorTime'] as core.String
: null,
errorUuid: json_.containsKey('errorUuid')
? json_['errorUuid'] as core.String
: null,
message: json_.containsKey('message')
? json_['message'] as core.String
: null,
reason: json_.containsKey('reason')
? json_['reason'] as core.String
: null,
);