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, item) => core.MapEntry(
key,
item 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,
);