toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.statusCode != null) {
    json[r'statusCode'] = this.statusCode;
  } else {
    json[r'statusCode'] = null;
  }
  if (this.message != null) {
    json[r'message'] = this.message;
  } else {
    json[r'message'] = null;
  }
  return json;
}