init method

  1. @override
Future<void> init(
  1. String apiKey
)
override

Implementation

@override
Future<void> init(String apiKey) async {
  try {
    return await _methodChannel.invokeMethod(
      'init',
      <String, dynamic>{'apiKey': apiKey},
    );
  } on PlatformException catch (e) {
    throw DyScanException.fromPlatformException(e);
  }
}