pageCount method

  1. @override
Future<int> pageCount()
override

Implementation

@override
Future<int> pageCount() {
  return methodChannel
      .invokeMethod<int>("pageCount")
      .then<int>((int? value) => value ?? 0);
}