getInfo method

  1. @SupportedPlatforms(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform(), WindowsPlatform()])
Future<DownloadJobInfo?> getInfo()

Returns a snapshot of the current job.

Implementation

@SupportedPlatforms(
  platforms: [
    AndroidPlatform(),
    IOSPlatform(),
    MacOSPlatform(),
    WindowsPlatform(),
  ],
)
Future<DownloadJobInfo?> getInfo() {
  throw UnimplementedError(
    'getInfo is not implemented on the current platform',
  );
}