FlutterAlarm class abstract
- Inheritance
-
- Object
- PlatformInterface
- FlutterAlarm
- Mixed-in types
- Implementers
Constructors
- FlutterAlarm()
- Constructs a FlutterAlarm.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAlarm(
DateTime time, {String? uid, Map< String, dynamic> ? payload, Duration? screenWakeDuration}) → Future<AlarmItem> -
inherited
-
deleteAlarm(
int id) → Future< void> -
inherited
-
deleteAlarmsByPayload(
Map< String, dynamic> payload) → Future<void> -
inherited
-
deleteAlarmsByTime(
DateTime dateTime) → Future< void> -
inherited
-
deleteAlarmsByUid(
String uid) → Future< void> -
inherited
-
deleteAllAlarms(
) → Future< void> -
inherited
-
getAlarm(
int id) → Future< AlarmItem> -
inherited
-
getAlarmByPayload(
Map< String, dynamic> payload) → Future<List< AlarmItem> > -
inherited
-
getAlarmByTime(
DateTime time) → Future< List< AlarmItem> > -
inherited
-
getAlarmByUid(
String uid) → Future< List< AlarmItem> > -
inherited
-
getAllAlarms(
) → Future< List< AlarmItem> > -
inherited
-
invokeNativeMethod<
T> (ChannelMethods method, [AlarmItem? alarm]) → Future< T?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onForegroundAlarmEventHandler(
OnForegroundAlarmEvent alarmEvent) → void -
inherited
-
requestPermission(
) → Future< bool> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ FlutterAlarm
-
The default instance of FlutterAlarm to use.
getter/setter pair
Static Methods
-
invokeNativeMethodStatic<
T> (ChannelMethods method, [AlarmItem? alarm]) → Future< T?>