toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of ApiErrorResponse.

Implementation

Map<String, dynamic> toJson() {
  return {'RequestId': requestId, 'Error': error};
}