count_down_ac

This commit is contained in:
mohammad
2025-01-08 17:17:52 +03:00
parent cff8c4728c
commit 7a22bb4bc8
18 changed files with 779 additions and 99 deletions

View File

@ -1,3 +1,4 @@
import 'package:dio/dio.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:syncrow_app/features/app_layout/model/space_model.dart';
import 'package:syncrow_app/features/auth/model/user_model.dart';
@ -95,4 +96,21 @@ class SpacesAPI {
);
return response;
}
static Future activationCodeSpace({
String? activationCode,
String? userUuid,
}) async {
Map body = {"activationCode": activationCode, "userUuid": userUuid};
final response = await _httpService.post(
path: ApiEndpoints.activationCode,
showServerMessage: true,
body: body,
expectedResponseModel: (json) {
return json;
},
);
return response;
}
}