showNotification property

Future<void> Function(String, [NotificationOptions?]) get showNotification

Implementation

_i2.Future<void> Function(
  _i2.String, [
  _i3.NotificationOptions?,
]) get showNotification => (
      _i2.String p0, [
      _i3.NotificationOptions? p1,
    ]) =>
        _i4.promiseToFuture(_i4.callMethod(
          _i4.getProperty(
            this,
            'showNotification',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i6.undefined,
          ],
        ));
set showNotification (Future<void> value(String, [NotificationOptions?]))

Implementation

set showNotification(
    _i2.Future<void> Function(
      _i2.String, [
      _i3.NotificationOptions?,
    ]) value) {
  _i4.setProperty(
    this,
    'showNotification',
    _i4.allowInterop(value),
  );
}