initKey method

  1. @override
Future<void> initKey()
override

Initialize or generate the key pair if it doesn't exist.

Implementation

@override
Future<void> initKey() async {
  try {
    await _methodChannel.invokeMethod<void>('initKey');
  } on PlatformException catch (e) {
    throw _convertPlatformException(e);
  }
}