PaymayaItem class

Paymaya Item

Example:

  final item = PaymayaItem(
    name: 'Shoe(Size SX)',

  );

Constructors

PaymayaItem({required String name, required num quantity, String? code, String? description, required PaymayaAmount amount, required PaymayaAmount totalAmount})
Paymaya Item
const
PaymayaItem.fromJson(String source)
Paymaya Item
factory
PaymayaItem.fromMap(Map<String, dynamic> map)
Paymaya Item
factory

Properties

amount PaymayaAmount
final
code String?
final
description String?
final
hashCode int
The hash code for this object.
no setteroverride
name String
final
quantity num
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalAmount PaymayaAmount
final

Methods

copyWith({String? name, num? quantity, String? code, String? description, PaymayaAmount? amount, PaymayaAmount? totalAmount}) PaymayaItem
Paymaya Item
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Paymaya Item
toMap() Map<String, dynamic>
Paymaya Item
toString() String
A string representation of this object.
override

Operators

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