Http class

Available extensions

Constructors

Http({BuildContext? context, bool dialog = true})

Properties

context BuildContext?
getter/setter pair
dialog bool
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

Methods

addFirebaseNotificationKey(String key) Future<void>

Available on Http, provided by the HttpUserRequests extension

checkIsibookReservation(Map<String, dynamic> data) Future<IsibookReserveCheckResponse?>

Available on Http, provided by the HttpIsibookRequests extension

deleteAccount() Future<bool>

Available on Http, provided by the HttpUserRequests extension

deleteIsibookReservation(int reservationId, bool force) Future<bool>

Available on Http, provided by the HttpIsibookRequests extension

doLogin(String mail, String pswd) Future<bool>

Available on Http, provided by the HttpUserRequests extension

doLoginWithApple(String token) Future<bool>

Available on Http, provided by the HttpUserRequests extension

doLoginWithGoogle(String token) Future<bool>

Available on Http, provided by the HttpUserRequests extension

doLoginWithId(int accountId) Future<bool>

Available on Http, provided by the HttpUserRequests extension

editPassword(String oldPassword, String newPassword, String confirmNewPassword) Future<bool>

Available on Http, provided by the HttpUserRequests extension

elaborateResponse(HttpResponse response) bool
getCommercial() Future<Commercial?>

Available on Http, provided by the HttpCommercialRequests extension

getCommercialPointPacks() Future<List<CommercialPointPack>?>

Available on Http, provided by the HttpCommercialRequests extension

getIsibookExtras() Future<IsibookExtrasResponse?>

Available on Http, provided by the HttpIsibookRequests extension

getIsibookMyReservation(int reservationId) Future<IsibookMyReservationResponse?>

Available on Http, provided by the HttpIsibookRequests extension

getIsibookMyReservations({int page = 1, int perPage = 10}) Future<IsibookMyReservationsResponse?>

Available on Http, provided by the HttpIsibookRequests extension

getIsibookPoints() Future<IsibookPointsResponse?>

Available on Http, provided by the HttpIsibookRequests extension

getIsibookPointsLog({int page = 1, int perPage = 10}) Future<IsibookPointsLogResponse?>

Available on Http, provided by the HttpIsibookRequests extension

getIsibookReservations({required Jiffy date, required Jiffy endDate}) Future<IsibookReservationsResponse?>

Available on Http, provided by the HttpIsibookRequests extension

getIsibookSpaces() Future<IsibookSpacesResponse?>

Available on Http, provided by the HttpIsibookRequests extension

getIsibookTransactions({int page = 1, int perPage = 10}) Future<IsibookTransactionsResponse?>

Available on Http, provided by the HttpIsibookRequests extension

getUser() Future<Account?>

Available on Http, provided by the HttpUserRequests extension

logout() → void

Available on Http, provided by the HttpUserRequests extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recoverPassword(String email) Future<bool>

Available on Http, provided by the HttpUserRequests extension

recoverPasswordWithOtp(String email, String otp, String newPassword, String confirmNewPassword) Future<bool>

Available on Http, provided by the HttpUserRequests extension

refreshToken() Future<bool>

Available on Http, provided by the HttpUserRequests extension

register(Account c) Future<Account?>

Available on Http, provided by the HttpUserRequests extension

reserveIsibookSpace({required int spaceId, required Jiffy start, required Jiffy end, List extras = const [], required int customers, bool points = false}) Future<IsibookMyReservationResponse?>

Available on Http, provided by the HttpIsibookRequests extension

toString() String
A string representation of this object.
inherited
updateAccount(Account account) Future<Account?>

Available on Http, provided by the HttpUserRequests extension

Operators

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