registerForPush static method
Request permission AND register for remote notifications. Returns whether permission was granted. Real on iOS; on Android this routes to requestPermission.
Implementation
static Future<bool> registerForPush() async {
final result = await _channel.invokeMethod<bool>('registerForPush');
return result ?? false;
}