Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'name'] = name; return json; }