init method
Initializes the SDK using the provided key
.
Returns 0
on success, or a non-zero error code if initialization fails.
Implementation
@override
Future<int?> init(String key) async {
return await methodChannel.invokeMethod<int>('init', {'key': key});
}