Error.fromJson constructor

Error.fromJson(
  1. Map json_
)

Implementation

Error.fromJson(core.Map json_)
    : this(
        domain: json_.containsKey('domain')
            ? json_['domain'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
      );