getProgress method Null safety

Future<int?> getProgress()

Gets the progress for the current page. The progress value is between 0 and 100.

Supported Platforms/Implementations:

Implementation

Future<int?> getProgress() async {
  Map<String, dynamic> args = <String, dynamic>{};
  return await _channel.invokeMethod('getProgress', args);
}