AccountDetailModel class

Constructors

AccountDetailModel({required bool fullyPaid, required bool isInvoice, required double valueDue, required String description, required DateTime date, required double invoiced, required double paid, required double balance, required int documentId})
Returns a new AccountDetailModel instance.

Properties

balance double
getter/setter pair
date DateTime
getter/setter pair
description String
getter/setter pair
documentId int
getter/setter pair
fullyPaid bool
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
invoiced double
getter/setter pair
isInvoice bool
getter/setter pair
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueDue 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) AccountDetailModel?
Returns a new AccountDetailModel instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<AccountDetailModel>
mapFromJson(dynamic json) Map<String, AccountDetailModel>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<AccountDetailModel>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.