BillingAddress class abstract
- Available extensions
- Annotations
- 
    - @freezed
 
Constructors
- BillingAddress({String? line1, String? line2, String? city, String? state, String? country, @JsonKey.new(name: 'postal_code') String? postalCode})
- 
          
            constfactory
- 
          BillingAddress.fromJson(Map<String, dynamic> json)
- 
          
            factory
Properties
- city → String?
- 
  City, district, suburb, town, or village.
  no setterinherited
- 
  copyWith
  → $BillingAddressCopyWith<BillingAddress> 
- 
  Create a copy of BillingAddress
with the given fields replaced by the non-null parameter values.
  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
- 
  map<TResult extends Object?> (TResult $default(_PaymentElementBillingDetailsAddress value)) → TResult 
- 
      Available on BillingAddress, provided by the BillingAddressPatterns extension Aswitch-like method, using callbacks.
- 
  mapOrNull<TResult extends Object?> (TResult? $default(_PaymentElementBillingDetailsAddress value)?) → TResult? 
- 
      Available on BillingAddress, provided by the BillingAddressPatterns extension A variant ofmapthat fallback to returningnull.
- 
  maybeMap<TResult extends Object?> (TResult $default(_PaymentElementBillingDetailsAddress value)?, {required TResult orElse()}) → TResult 
- 
      Available on BillingAddress, provided by the BillingAddressPatterns extension A variant ofmapthat fallback to returningorElse.
- 
  maybeWhen<TResult extends Object?> (TResult $default(String? line1, String? line2, String? city, String? state, String? country, String? postalCode)?, {required TResult orElse()}) → TResult 
- 
      Available on BillingAddress, provided by the BillingAddressPatterns extension A variant ofwhenthat fallback to anorElsecallback.
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  Serializes this BillingAddress to a JSON map.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
- 
  when<TResult extends Object?> (TResult $default(String? line1, String? line2, String? city, String? state, String? country, String? postalCode)) → TResult 
- 
      Available on BillingAddress, provided by the BillingAddressPatterns extension Aswitch-like method, using callbacks.
- 
  whenOrNull<TResult extends Object?> (TResult? $default(String? line1, String? line2, String? city, String? state, String? country, String? postalCode)?) → TResult? 
- 
      Available on BillingAddress, provided by the BillingAddressPatterns extension A variant ofwhenthat fallback to returningnull
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited