setSecure method
This is the new method that triggers the native privacy protection. We remove getPlatformVersion because we don't need it for this package.
Implementation
@override
Future<void> setSecure(bool enable) async {
// This 'setSecure' string must match the one you used in Kotlin and Swift
await methodChannel.invokeMethod<void>('setSecure', enable);
}