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