Receipt class

Constructors

Receipt.new({required Client client, required Company company, required List<Item> items, required List<Payment> payments, required double total})
Receipt.fromJson(Map<String, dynamic> json)
factory
Receipt.fromRawJson(String str)
factory

Properties

client Client
final
company Company
final
hashCode int
The hash code for this object.
no setterinherited
items List<Item>
final
payments List<Payment>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total double
final

Methods

copyWith({Client? client, Company? company, List<Item>? items, List<Payment>? payments, double? total}) Receipt
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toRawJson() String
toString() String
A string representation of this object.
inherited

Operators

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