Address class

A class representing user address information.

Address is used to store geographical location data for users, including city, country, postal code, state, and street information. This can be used as part of RudderTraits for user identification.

Constructors

Address({String? city, String? country, String? postalCode, String? state, String? street})
Creates a new Address instance with optional address components.

Properties

addressMap Map<String, String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
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
putCity(String city) Address
put city
putCountry(String country) Address
put country
putPostalCode(String postalCode) Address
put postal code
putState(String state) Address
put state String
putStreet(String street) Address
put street String
toString() String
A string representation of this object.
override

Operators

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