ProductEntity class

Inheritance

Constructors

ProductEntity({required String id, required String name, required String code, required String description, required List<String> tags, required String imageUrl, required String quoteTSONConfigUrl, required String applyTSONConfigUrl, required String promotionMessage, required DateTime? createdAt, required DateTime? updatedAt, int? discount = 0})

Properties

applyTSONConfigUrl String
final
code String
final
createdAt DateTime
getter/setter pairinherited
description String
final
discount int?
final
hasDiscount bool
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
finalinherited
imageUrl String
final
name String
final
promotionMessage String
final
quoteTSONConfigUrl String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool
getter/setter pairinherited
tags List<String>
final
updatedAt DateTime
getter/setter pairinherited

Methods

copyWith({String? name, String? code, String? description, List<String>? tags, String? imageUrl, String? quoteTSONConfigUrl, String? applyTSONConfigUrl, String? promotionMessage, int? discount, DateTime? createdAt, DateTime? updatedAt}) ProductEntity
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toMap() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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