toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var message = this.message;
  var statusCode = this.statusCode;

  final json = <String, Object?>{};
  json[r'message'] = message;
  json[r'statusCode'] = statusCode;
  return json;
}