clean up code

This commit is contained in:
Wenqi Li 2023-05-03 18:54:23 +08:00
parent 4b5463cfa1
commit f4ca41daa1
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class PhotoGallery {
}) async {
final json = await _channel.invokeMethod('listAlbums', {
'mediumType': mediumTypeToJson(mediumType),
'hideIfEmpty': hideIfEmpty
'hideIfEmpty': hideIfEmpty,
});
return json.map<Album>((x) => Album.fromJson(x)).toList();
}