init method

Future<void> init(
  1. String channelId, [
  2. bool autoRegister = true
])

Implementation

Future<void> init(String channelId, [bool autoRegister = true]) async {
  print("CleverPush: Flutter initializing with channelId: " + channelId + " and autoRegister: " + (autoRegister ? 'true' : 'false'));
  await _channel.invokeMethod('CleverPush#init', {'channelId': channelId, 'autoRegister': autoRegister});
}