RepositoryError.fromJson constructor
RepositoryError.fromJson(
- Map json_
Implementation
RepositoryError.fromJson(core.Map json_)
: this(
errorMessage: json_.containsKey('errorMessage')
? json_['errorMessage'] as core.String
: null,
httpStatusCode: json_.containsKey('httpStatusCode')
? json_['httpStatusCode'] as core.int
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);