ErrorProto.fromJson constructor

ErrorProto.fromJson(
  1. Map json_
)

Implementation

ErrorProto.fromJson(core.Map json_)
    : this(
        debugInfo: json_.containsKey('debugInfo')
            ? json_['debugInfo'] as core.String
            : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
      );