configure method
Implementation
@override
Future<bool?> configure({
required String key,
void Function(SMKitStatus)? onHandle,
}) async {
final arg = {'apiPublicKey': key};
bool? res = false;
try {
return await methodChannel.invokeMethod<bool?>('configure', arg);
} on PlatformException catch (e) {
debugPrint('PlatformException: ${e.code} ${e.message}');
}
return res;
}