isShareLocked method
Determine whether sharing the view or screen is locked.
Return true indicates that sharing is locked, otherwise false.
Implementation
@override
Future<bool> isShareLocked() async {
return await methodChannel
.invokeMethod<bool>('isShareLocked')
.then<bool>((bool? value) => value ?? false);
}