InvoiceLine class

Constructors

InvoiceLine({String? priceToken, required double quantity, Price? price, String? description, double? amount})
InvoiceLine.fromJson(String source)
factory
InvoiceLine.fromMap(Map<String, dynamic> map)
factory

Properties

amount double?
getter/setter pair
description String?
getter/setter pair
hashCode int
The hash code for this object.
no setter
price Price?
getter/setter pair
priceToken String?
getter/setter pair
quantity double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clone() → Cloneable
copyWith({String? priceToken, double? quantity, Price? price, String? description, double? amount}) InvoiceLine
Specify how to clone the concrete class.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toMap({bool withId = true, dynamic withPrice = true}) Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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