ApiErrorResponse.fromJson constructor
Creates a ApiErrorResponse instance from a JSON representation.
Implementation
ApiErrorResponse.fromJson(Map<String, dynamic> json) {
requestId = json['requestId'];
error = ApiError.fromJson(json['error']);
}