InvoiceSummaryModel class
Constructors
-
InvoiceSummaryModel({required CustomerModel customer, required double toInvoice, required double totalHours, List<
ServiceSummary> serviceSummaries = const [], required bool invoiced})
Properties
- customer ↔ CustomerModel
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- invoiced ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceSummaries
↔ List<
ServiceSummary> -
getter/setter pair
- toInvoice ↔ double
-
getter/setter pair
- totalHours ↔ double
-
getter/setter pair
Methods
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → InvoiceSummaryModel -
Returns a new InvoiceSummaryModel instance and imports its values from
value
if it's a Map, null otherwise. -
listFromJson(
dynamic json) → List< InvoiceSummaryModel> -
mapFromJson(
dynamic json) → Map< String, InvoiceSummaryModel?> -
mapListFromJson(
dynamic json) → Map< String, List< InvoiceSummaryModel?> ?>