KodeposMixin mixin

Kodepos mixin Used to get data from kodepos

Properties

hashCode int
The hash code for this object.
no setterinherited
kodeposController ↔ KodeposController
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getListOfCity({required String provinceId}) Future<List<ItemAddressValue>?>
Get list of city by provinceId Return list of city Example: List
getListOfDistrict({required String cityId}) Future<List<ItemAddressValue>?>
Get list of district by cityId Return list of district Example: List
getListOfProvince() Future<List<ItemAddressValue>?>
Get list of province Return list of province Example: List
getListOfSubDistrict({required String districtId}) Future<List<ItemAddressValue>?>
Get list of subdistrict by districtId Return list of subdistrict Example: List
getPostalCode({required String cityId, required String districtId, required String subdistrictId}) Future<String?>
Get postal code by cityId, districtId, and subdistrictId Return postal code Example: String? postalCode = await getPostalCode(cityId: "1101", districtId: "1101010", subdistrictId: "1101010001");
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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