MethodChannelFlutterAlarmkit class

An implementation of FlutterAlarmkitPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

alarmUpdates() Stream
override
cancelAlarm({required String alarmId}) Future<bool>
override
countdownAlarm({required String alarmId}) Future<bool>
override
getAlarms() Future<List<Map<String, dynamic>>>
override
getAuthorizationState() Future<int>
override
getPlatformVersion() Future<String?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseAlarm({required String alarmId}) Future<bool>
override
requestAuthorization() Future<bool>
override
resumeAlarm({required String alarmId}) Future<bool>
override
scheduleOneShotAlarm({required double timestamp, String? label, String? tintColor}) Future<String>
override
scheduleRecurrentAlarm({required int weekdayMask, required int hour, required int minute, String? label, String? tintColor}) Future<String>
override
setCountdownAlarm({required int countdownDurationInSeconds, required int repeatDurationInSeconds, String? label, String? tintColor}) Future<String>
override
stopAlarm({required String alarmId}) Future<bool>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited