Error.fromJson constructor
Error.fromJson(
- Map json_
Implementation
Error.fromJson(core.Map json_)
: this(
context: json_.containsKey('context')
? json_['context'] as core.String
: null,
payload: json_.containsKey('payload')
? json_['payload'] as core.String
: null,
stackTrace: json_.containsKey('stackTrace')
? StackTrace.fromJson(
json_['stackTrace'] as core.Map<core.String, core.dynamic>)
: null,
);