Address class

The address that you want the Snow device(s) associated with a specific job to be shipped to. Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. Although no individual elements of the Address are required, if the address is invalid or unsupported, then an exception is thrown.

Constructors

Address({String? addressId, String? city, String? company, String? country, bool? isRestricted, String? landmark, String? name, String? phoneNumber, String? postalCode, String? prefectureOrDistrict, String? stateOrProvince, String? street1, String? street2, String? street3})
Address.fromJson(Map<String, dynamic> json)
factory

Properties

addressId String?
The unique ID for an address.
final
city String?
The city in an address that a Snow device is to be delivered to.
final
company String?
The name of the company to receive a Snow device at an address.
final
country String?
The country in an address that a Snow device is to be delivered to.
final
hashCode int
The hash code for this object.
no setterinherited
isRestricted bool?
If the address you are creating is a primary address, then set this option to true. This field is not supported in most regions.
final
landmark String?
This field is no longer used and the value is ignored.
final
name String?
The name of a person to receive a Snow device at an address.
final
phoneNumber String?
The phone number associated with an address that a Snow device is to be delivered to.
final
postalCode String?
The postal code in an address that a Snow device is to be delivered to.
final
prefectureOrDistrict String?
This field is no longer used and the value is ignored.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateOrProvince String?
The state or province in an address that a Snow device is to be delivered to.
final
street1 String?
The first line in a street address that a Snow device is to be delivered to.
final
street2 String?
The second line in a street address that a Snow device is to be delivered to.
final
street3 String?
The third line in a street address that a Snow device is to be delivered to.
final

Methods

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

Operators

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