initialize static method

Future<void> initialize()

GDPR related You can use this function after getting user consent to initialize pushe lib for ios only: you must call this function in order to pushe to start working

Implementation

static Future<void> initialize() async {
  if(!Platform.isAndroid) return;
  await _channel.invokeMethod("Pushe.initialize");
}