Seller class

A class representing the seller (vendor) in an invoice or transaction.

The Seller class contains details about the seller, such as their name, VAT number, and address, which are typically required in business transactions.

Constructors

Seller({required String name, required String vatNumber, required String address})
Constructor to initialize the Seller object with a name, VAT number, and address.

Properties

address String
The address of the seller, usually in the form of street address, city, and postal code.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the seller.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vatNumber String
The VAT (Value Added Tax) number of the seller, which is used for tax reporting purposes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the Seller object into a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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