updateProject method
Implementation
Future<void> updateProject(
String projectId, {
String? name,
String? baseLocale,
List<String>? targetLocales,
String? description,
}) async {
await _dio.patch(
'$_baseUrl/projects/$projectId',
data: {
if (name != null) 'name': name,
if (baseLocale != null) 'baseLocale': baseLocale,
if (targetLocales != null) 'targetLocales': targetLocales,
if (description != null) 'description': description,
},
);
}