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