requestPermission property
Future<NotificationPermission> Function([NotificationPermissionCallback?])
get
requestPermission
Implementation
static _i2.Future<_i3.NotificationPermission> Function(
[_i3.NotificationPermissionCallback?]) get requestPermission => (
[_i3.NotificationPermissionCallback? p0]) =>
_i4.promiseToFuture(_i4.callMethod(
_i4.getProperty(
_i8.target356,
'requestPermission',
),
r'call',
[
_i8.target356,
p0 ?? _i6.undefined,
],
));
set
requestPermission
(Future<NotificationPermission> value([NotificationPermissionCallback?]))
Implementation
static set requestPermission(
_i2.Future<_i3.NotificationPermission> Function(
[_i3.NotificationPermissionCallback?])
value) {
_i4.setProperty(
_i8.target356,
'requestPermission',
_i4.allowInterop(value),
);
}