OperationErrors.fromJson constructor
OperationErrors.fromJson(
- Map _json
Implementation
OperationErrors.fromJson(core.Map _json)
: this(
errors: _json.containsKey('errors')
? (_json['errors'] as core.List)
.map<OperationError>((value) => OperationError.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
);