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
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