ShippingAddress class

This object represents a shipping address.

https://core.telegram.org/bots/api#shippingaddress

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

ShippingAddress({String? countryCode, String? state, String? city, String? streetLine1, String? streetLine2, String? postcode})
ShippingAddress.fromJson(Map<String, dynamic> json)
factory

Properties

city ↔ String?
City.
getter/setter pair
countryCode ↔ String?
ISO 3166-1 alpha-2 country code.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
postcode ↔ String?
Address post code.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ String?
State, if applicable.
getter/setter pair
streetLine1 ↔ String?
First line for the address.
getter/setter pair
streetLine2 ↔ String?
Second line for the address.
getter/setter pair

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