PushNotification class Null safety

Reference Model to create a new notification schedule and actionButtons are optional

Constructors

PushNotification({NotificationContent? content, NotificationSchedule? schedule, List<NotificationActionButton>? actionButtons})

Properties

actionButtons List<NotificationActionButton>?
read / write
content NotificationContent?
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
schedule NotificationSchedule?
read / write

Methods

fromMap(Map<String, dynamic> mapData) PushNotification?
Imports data from a serializable object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, dynamic>
Exports all content into a serializable object
toString() String
A string representation of this object. [...]
inherited
validate() → void
Validates if the models has all the requirements to be considerated valid

Operators

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