UniPayAddress class

Constructors

UniPayAddress({required String addressName, required String city, UniPayCountry country = UniPayCountry.sa, String zipCode = "12211"})
UniPayAddress.fromJson(Map<String, dynamic> data)

Properties

addressName String
  • Customer address name e.g: Olaya street, Al Ghadir
  • getter/setter pair
    city String
  • Address city
  • getter/setter pair
    country UniPayCountry
  • Customer country
  • getter/setter pair
    hashCode int
    The hash code for this object.
    no setterinherited
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    tabbyShippingAddress → ShippingAddress
    Tabby shipping address
    no setter
    zipCode String
  • Address zip code default is 12211 -> Riyadh
  • 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.
    override

    Operators

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