SwissAddress class final

An address on a Swiss QR-bill.

Annotations

Constructors

SwissAddress({required String name, required String postalCode, required String town, required String country, String? street, String? buildingNumber})
Creates an address.
const

Properties

buildingNumber → String?
The building number, up to 16 characters.
final
country → String
The two-letter ISO 3166 country code, such as CH.
final
hashCode → int
The hash code for this object.
no setteroverride
name → String
A person's or a company's name, up to 70 characters.
final
postalCode → String
The postal code without a country prefix, up to 16 characters.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
street → String?
The street, up to 70 characters.
final
town → String
The town, up to 35 characters.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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