ConnectionError.fromJson constructor

ConnectionError.fromJson(
  1. Map json_
)

Implementation

ConnectionError.fromJson(core.Map json_)
    : this(
        errorDomain: json_.containsKey('errorDomain')
            ? json_['errorDomain'] as core.String
            : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
      );