Reciept class

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

Reciept({String? discount, required String name, required num resultPrice, required num price, required num quantity})
Reciept.fromJson(Map<String, dynamic> json)
Преобразование json в модель
factory

Properties

discount String?
final
hashCode int
The hash code for this object.
no setterinherited
name String
ID точки продаж
final
price num
final
quantity num
final
resultPrice num
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? name, String? discount, num? resultPrice, num? price, num? quantity}) Reciept
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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