Supplier class

Represents a supplier in the invoice.

Constructors

Supplier({required String companyID, required String companyCRN, required String registrationName, required Location location})
Creates a new Supplier instance.
Supplier.fromMap(Map<String, dynamic> map)
Creates a Supplier instance from a Map.
factory

Properties

companyCRN String
final
companyID String
The company ID of the supplier.
final
hashCode int
The hash code for this object.
no setterinherited
location Location
The address of the supplier.
final
registrationName String
The registration name of the supplier.
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 Supplier instance to a Map.
toString() String
A string representation of this object.
inherited

Operators

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