OperationErrorErrors.fromJson constructor
OperationErrorErrors.fromJson(
- Map json_
Implementation
OperationErrorErrors.fromJson(core.Map json_)
: this(
code: json_.containsKey('code') ? json_['code'] as core.String : null,
errorDetails: json_.containsKey('errorDetails')
? (json_['errorDetails'] as core.List)
.map((value) => OperationErrorErrorsErrorDetails.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
location: json_.containsKey('location')
? json_['location'] as core.String
: null,
message: json_.containsKey('message')
? json_['message'] as core.String
: null,
);