DitoPushAction class
Botão de ação de uma notificação rica.
O backend já resolve o link para o sistema operacional do device, então cada botão carrega exatamente um destino — não existe par android/ios aqui.
Constructors
- DitoPushAction({required String id, required String label, required String link})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identificador do botão (
^[a-z0-9_]{1,32}$), único dentro do push.final - label → String
-
Texto exibido no botão (até 25 caracteres).
final
- link → String
-
URL ou deeplink aberto ao tocar no botão.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited