toJson method

Map<String, dynamic> toJson()

Implementation

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