NavigatorBadge constructor

NavigatorBadge({
  1. Future<void> clearAppBadge()?,
  2. Future<void> setAppBadge([
    1. num?
    ])?,
})

Implementation

factory NavigatorBadge({
  _i2.Future<void> Function()? clearAppBadge,
  _i2.Future<void> Function([_i2.num?])? setAppBadge,
}) =>
    NavigatorBadge._(
      clearAppBadge:
          clearAppBadge == null ? null : _i4.allowInterop(clearAppBadge),
      setAppBadge: setAppBadge == null ? null : _i4.allowInterop(setAppBadge),
    );