ShippingDetailsAddress class

Annotations
  • @freezed

Constructors

ShippingDetailsAddress({String? line1, String? line2, String? city, String? state, String? country, @JsonKey(name: 'postal_code') String? postalCode})
const
factory
ShippingDetailsAddress.fromJson(Map<String, dynamic> json)
factory

Properties

city String?
City, district, suburb, town, or village.
no setterinherited
copyWith → $ShippingDetailsAddressCopyWith<ShippingDetailsAddress>
no setterinherited
country String?
Two-letter country code (ISO 3166-1 alpha-2).
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
line1 String?
Address line 1 (e.g., street, PO Box, or company name).
no setterinherited
line2 String?
Address line 2 (e.g., apartment, suite, unit, or building).
no setterinherited
postalCode String?
ZIP or postal code.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
State, county, province, or region.
no setterinherited

Methods

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

Operators

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