Map<String, Object?> toJson() { var status = this.status; final json = <String, Object?>{}; if (status != null) { json[r'status'] = status; } return json; }