mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 03:04:54 +00:00
user_agreement and privacy_policy sign up and menu
This commit is contained in:
@ -116,4 +116,24 @@ class ProfileApi {
|
||||
});
|
||||
return response as List<TimeZone>;
|
||||
}
|
||||
|
||||
Future fetchUserAgreement() async {
|
||||
final response = await _httpService.get(
|
||||
path: ApiEndpoints.terms,
|
||||
showServerMessage: true,
|
||||
expectedResponseModel: (json) {
|
||||
return json['data'];
|
||||
});
|
||||
return response;
|
||||
}
|
||||
|
||||
Future fetchPrivacyPolicy() async {
|
||||
final response = await _httpService.get(
|
||||
path: ApiEndpoints.policy,
|
||||
showServerMessage: true,
|
||||
expectedResponseModel: (json) {
|
||||
return json['data'];
|
||||
});
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user