KwikAddress class

Constructors

KwikAddress({required String id, required String label, required String address, required String name, required String phone, String? source, String? email, String? houseNo, String? area, String? landmark, String? pincode, String? city, String? state, String? country, String? flatHouseNo, String? addressLine1, String? addressLine2, String? addressLine3})
const

Properties

address String
Full combined address string for display. In split-address mode this is the comma-joined flatHouseNo + addressLine1/2/3. In single-address mode, the raw fullAddress input.
final
addressLine1 String?
final
addressLine2 String?
final
addressLine3 String?
final
area String?
final
city String?
final
country String?
final
displayAddress String
Single-line address shown on the tile. Falls back to a comma-joined flatHouseNo + addressLine1/2/3 when the host passes split fields but leaves address blank.
no setter
email String?
final
flatHouseNo String?
final
hashCode int
The hash code for this object.
no setterinherited
houseNo String?
final
id String
final
label String
Address type label — "Home", "Work", "Other", etc.
final
landmark String?
final
name String
final
phone String
final
pincode String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
Source tag shown on the tile. Host-app addresses carry their own source (e.g. "1mg"). GoKwik-network addresses (API-fetched or manually added) use "GoKwik Network".
final
state String?
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