NotificationModel class

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

Implementers

Constructors

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

Properties

actionButtons List<NotificationActionButton>?
no setter
content NotificationContent?
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
schedule NotificationSchedule?
no setter

Methods

fromMap(Map<String, dynamic> mapData) NotificationModel?
Imports data from a serializable object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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