WooNotification class
Constructors
- WooNotification.new({int? id, String? title, String? body, int? objectId, WooNotificationObjectType? objectType, bool? isRead, DateTime? createdAt})
-
const
- WooNotification.fake()
-
factory
-
WooNotification.fromJson(Map<
String, dynamic> map) -
factory
Properties
- body → String?
-
Notification body.
final
- createdAt → DateTime?
-
The date the notification was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int?
-
Notification id.
final
- isRead → bool?
-
If notification is read or not by defualt is false.
final
- objectId → int?
-
Notification object id for now it's always an order id.
final
- objectType → WooNotificationObjectType?
-
Notification object type for now it's always an order.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
Notification title.
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