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