toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['error_code'] = errorCode;
  map['error_message'] = errorMessage;
  return map;
}