NotificationModel class
Model for notification
Constructors
- NotificationModel({int id, int note, String date1})
-
NotificationModel.fromMap(Map<
String, dynamic> map) - Makes NotificationModel from database data
Properties
Methods
-
getString(
) → String - Returns all data converted in string
-
makeData(
DateTime dateTime) → dynamic - Sets date info
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map< String, dynamic> - Prepares data to store it in database
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited