OperationError.fromJson constructor

OperationError.fromJson(
  1. Map _json
)

Implementation

OperationError.fromJson(core.Map _json)
    : this(
        code: _json.containsKey('code') ? _json['code'] as core.String : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        message: _json.containsKey('message')
            ? _json['message'] as core.String
            : null,
      );