dart format

This commit is contained in:
2026-05-08 20:12:40 +02:00
parent 9e139b5704
commit 3b8da1d3d6
295 changed files with 6404 additions and 4161 deletions
@@ -13,7 +13,9 @@ class FileSharingApi {
);
final response = await http.post(endpoint, headers: NextcloudOcs.headers());
if (response.statusCode != HttpStatus.ok) {
throw Exception('Api call failed with ${response.statusCode}: ${response.body}');
throw Exception(
'Api call failed with ${response.statusCode}: ${response.body}',
);
}
}
}
@@ -15,9 +15,10 @@ class FileSharingApiParams {
required this.shareWith,
required this.path,
this.referenceId,
this.talkMetaData
this.talkMetaData,
});
factory FileSharingApiParams.fromJson(Map<String, dynamic> json) => _$FileSharingApiParamsFromJson(json);
factory FileSharingApiParams.fromJson(Map<String, dynamic> json) =>
_$FileSharingApiParamsFromJson(json);
Map<String, dynamic> toJson() => _$FileSharingApiParamsToJson(this);
}