ReminderNotifier class abstract

O que o aviso pede ao aparelho. FlutterReminderNotifier fala com o plugin de notificações; os testes põem um falso no lugar.

Implementers

Constructors

ReminderNotifier()

Properties

disponivel → bool
Se o aparelho pode avisar (hoje, só Android).
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

agendar({required int id, required DateTime quando}) → Future<void>
Agenda o aviso de treino para quando.
cancelarTodos() → Future<void>
Tira todos os avisos agendados.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pedirPermissao() → Future<bool>
Pede a permissão de notificações; true se ela foi dada.
toString() → String
A string representation of this object.
inherited

Operators

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