IndividualParty class
Represents an individual party (person), including their name, tax ID, and address.
The toXml
method generates an XML structure specific to an individual party.
Constructors
- IndividualParty.new({required String name, required String taxId, required String address})
- Constructor to initialize the individual party's details.
Properties
- address ↔ String
-
The address of the party.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
The name of the party (individual or business).
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taxId ↔ String
-
The tax identification number of the party.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toXml(
XmlBuilder builder) → void -
Converts the individual party's details into XML format.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited