NotificationMessage class

Mensagem de notificação enviada a um ou mais meios. Carrega os destinos possíveis (e-mail, telefone, device token) — cada canal usa o que precisa.

Constructors

NotificationMessage({required String title, required String body, String? email, String? phone, String? deviceToken, Map<String, String> data = const {}})
const

Properties

body String
final
data Map<String, String>
final
deviceToken String?
final
email String?
final
hashCode int
The hash code for this object.
no setterinherited
phone String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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