|
1
|
import 'package:flutter/services.dart'; |
|
2
|
|
|
3
|
Future<void> setIsAppSecureNative(bool isAppSecure) async { |
|
4
|
try { |
|
5
|
final utils = const MethodChannel('com.cake_wallet/native_utils'); |
|
6
|
|
|
7
|
await utils.invokeMethod<Uint8List>('setIsAppSecure', {'isAppSecure': isAppSecure}); |
|
8
|
} catch (_) {} |
|
9
|
} |