reloadAlbum method
Reload album with same / different albumId
The returned Future completes after the change has been started on the platform side.
Implementation
Future<void> reloadAlbum(
String albumId, {
List<MediaType>? types
}) async {
types ??= _imageListState.types;
await channel.invokeMethod('reloadAlbum', <String, dynamic>{
'albumId': albumId,
'types': types
.map((e) => e.toString().replaceAll("MediaType.", "").toUpperCase())
.join("-")
});
}