disableViewerAnnotation method

  1. @override
Future<String?> disableViewerAnnotation(
  1. bool disable
)

Implementation

@override
Future<String?> disableViewerAnnotation(bool disable) async {
  var params = <String, dynamic>{};
  params.putIfAbsent('disable', () => disable);
  return await methodChannel
      .invokeMethod<String>('disableViewerAnnotation', params)
      .then<String>((String? value) => value ?? "");
}