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