Error.fromJson constructor

Error.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Error.fromJson(Map<String, dynamic> json) {
  code = json['code'];
  message = json['message'];
  description = json['description'];
  innerError = ErrorDetails.fromJson(json['innerError']);
}