isSenderDisableAnnotation method

  1. @Deprecated('Use [canDoAnnotation] instead')
  2. @override
Future<bool> isSenderDisableAnnotation()

Whether the annotation was disabled or not by the share owner.
Return true: disabled

Implementation

@Deprecated('Use [canDoAnnotation] instead')
@override
Future<bool> isSenderDisableAnnotation() async {
  return await methodChannel
      .invokeMethod<bool>('isSenderDisableAnnotation')
      .then<bool>((bool? value) => value ?? true);
}