getText method

  1. @override
Future<String> getText(
  1. int pageNumber
)
override

Implementation

@override
Future<String> getText(int pageNumber) {
  var data = <String, int>{
    'pageNumber': pageNumber,
  };
  return methodChannel
      .invokeMethod<String>("getText", data)
      .then<String>((String? value) => value ?? "");
}