initClient method

  1. @override
Future<bool> initClient(
  1. String siteKey, {
  2. double? timeout,
})
override

Implementation

@override
Future<bool> initClient(String siteKey, {double? timeout}) async {
  Map<String, dynamic> opts = {'siteKey': siteKey};

  if (timeout != null) {
    opts['timeout'] = timeout;
  }

  return await methodChannel.invokeMethod('initClient', opts);
}