NotificationDTO class

Inheritance

Constructors

NotificationDTO({String? id, String? createdAt, String? updatedAt, bool? isActive, bool? isDeleted, String? title, String? description, String? photoUrl, String? oneSignalId, ProfileDTO? user, List<ProductDTO>? products, List<CategoryDTO>? categories, List<CampaignDTO>? campaigns})
NotificationDTO.fromJson(Map<String, dynamic> json)

Properties

campaigns List<CampaignDTO>?
getter/setter pair
categories List<CategoryDTO>?
getter/setter pair
createdAt String?
The time when the DTO was created.
getter/setter pairinherited
description String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the DTO.
getter/setter pairinherited
isActive bool?
Whether the DTO is active.
getter/setter pairinherited
isDeleted bool?
Whether the DTO has been deleted.
getter/setter pairinherited
oneSignalId String?
getter/setter pair
photoUrl String?
getter/setter pair
products List<ProductDTO>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
getter/setter pair
updatedAt String?
The time when the DTO was last updated.
getter/setter pairinherited
user ProfileDTO?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the BaseDTO to a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

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