Customer class

Represents a customer in the invoice.

Constructors

Customer({required String companyID, required String registrationName, required Address address, String? businessID})
Customer.fromMap(Map<String, dynamic> map)
Creates a Customer instance from a Map.
factory

Properties

address → Address
The address of the customer.
final
businessID → String?
final
companyID → String
The company ID of the customer.
final
hashCode → int
The hash code for this object.
no setterinherited
registrationName → String
The registration name of the customer.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Converts the Customer instance to a Map.
toString() → String
A string representation of this object.
inherited

Operators

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