Repository class

Constructors

Repository()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getMyPoint() Future
getPurchaseVoucherDetails({required String voucherCode}) Future
getPurchaseVoucherList({String merchantId = "", int page = 1, int limit = 20}) Future
getVoucherDetails({required String voucherId}) Future
getVoucherList({required String longitude, required String latitude, int page = 1, int limit = 20, String merchantId = ""}) Future
login({required LoginBodyModel body, required String baseUrl, required String module}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pointEarnHistory({int limit = 20, int page = 1}) Future
pointExpenseHistory({int limit = 20, int page = 1}) Future
purchaseVoucher({required String voucherId, required bool purchaseByCash, String transactionId = "", String accountId = "", String transactionDatetime = "", num amount = 0.0}) Future
refreshToken(Future callback()) Future
sharePoints({String businessId = "", String sendToMobileNumber = "", required String keyword, required num transferAmount}) Future
shareVoucher({required String voucherCode, required String sendToMobileNumber}) Future
toString() String
A string representation of this object.
inherited
useVoucher({required String voucherCode}) Future

Operators

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