getForegroundDownloadState method
Implementation
@override
Future<ForegroundDownloadEvent> getForegroundDownloadState() async {
_ensureNativeHandler();
final result = await methodChannel.invokeMapMethod<Object?, Object?>(
'getForegroundDownloadState',
);
return ForegroundDownloadEvent.fromMap(result ?? const {});
}