getAudioImage method
Implementation
@override
Future<Uint8List?> getAudioImage(String filePath) async {
final result = await methodChannel.invokeMethod<List<Object?>>(
'getEmbeddedPicture',
{'filePath': filePath},
);
if (result == null || result.isEmpty) {
return null;
}
return Uint8List.fromList(result.cast<int>());
}