isOtherSharing method

  1. @override
Future<bool> isOtherSharing()

Determine whether other user is sharing.
Return true indicates another user is sharing, otherwise false.

Implementation

@override
Future<bool> isOtherSharing() async {
  return await methodChannel
      .invokeMethod<bool>('isOtherSharing')
      .then<bool>((bool? value) => value ?? false);
}