CNPostalAddress class
An immutable representation of the postal address for a contact.
See https://developer.apple.com/documentation/Contacts/CNPostalAddress
Constructors
-
CNPostalAddress.pigeon_detached({BinaryMessenger? pigeon_binaryMessenger, PigeonInstanceManager? pigeon_instanceManager, required String street, required String city, required String state, required String postalCode, required String country, required String isoCountryCode, required String subAdministrativeArea, required String subLocality, void observeValue(NSObject pigeon_instance, String? keyPath, NSObject? object, Map<
KeyValueChangeKey, Object?> ? change)?}) - Constructs CNPostalAddress without creating the associated native object.
Properties
- city → String
-
The city name in a postal address.
final
- country → String
-
The country or region name in a postal address.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isoCountryCode → String
-
The ISO country code for the country or region in a postal address, using
the ISO 3166-1 alpha-2 standard.
final
-
observeValue
→ void Function(NSObject pigeon_instance, String? keyPath, NSObject? object, Map<
KeyValueChangeKey, Object?> ? change)? -
Informs the observing object when the value at the specified key path
relative to the observed object has changed.
finalinherited
- pigeon_binaryMessenger → BinaryMessenger?
-
Sends and receives binary data across the Flutter platform barrier.
finalinherited
- pigeon_instanceManager → PigeonInstanceManager
-
Maintains instances stored to communicate with native language objects.
finalinherited
- postalCode → String
-
The postal code in a postal address.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
The state name in a postal address.
final
- street → String
-
The street name in a postal address.
final
- subAdministrativeArea → String
-
The subadministrative area (such as a county or other region) in a postal
address.
final
- subLocality → String
-
Additional information associated with the location, typically defined at
the city or town level, in a postal address.
final
Methods
-
addObserver(
NSObject observer, String keyPath, List< KeyValueObservingOptions> options) → Future<void> -
Registers the observer object to receive KVO notifications for the key
path relative to the object receiving this message.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pigeon_copy(
) → CNPostalAddress - Instantiates and returns a functionally identical object to oneself.
-
removeObserver(
NSObject observer, String keyPath) → Future< void> -
Stops the observer object from receiving change notifications for the
property specified by the key path relative to the object receiving this
message.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
pigeon_setUpMessageHandlers(
{bool pigeon_clearHandlers = false, BinaryMessenger? pigeon_binaryMessenger, PigeonInstanceManager? pigeon_instanceManager, CNPostalAddress pigeon_newInstance(String street, String city, String state, String postalCode, String country, String isoCountryCode, String subAdministrativeArea, String subLocality)?}) → void