mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 17:44:55 +00:00
reformat
This commit is contained in:
@ -37,13 +37,11 @@ class SpacesAPI {
|
|||||||
.replaceFirst('{communityUuid}', communityId)
|
.replaceFirst('{communityUuid}', communityId)
|
||||||
.replaceFirst('{spaceUuid}', spaceId);
|
.replaceFirst('{spaceUuid}', spaceId);
|
||||||
|
|
||||||
|
|
||||||
final response = await _httpService.get(
|
final response = await _httpService.get(
|
||||||
path: path,
|
path: path,
|
||||||
queryParameters: {"page": 1, "pageSize": 10},
|
queryParameters: {"page": 1, "pageSize": 10},
|
||||||
showServerMessage: false,
|
showServerMessage: false,
|
||||||
expectedResponseModel: (json) {
|
expectedResponseModel: (json) {
|
||||||
|
|
||||||
List<SubSpaceModel> rooms = [];
|
List<SubSpaceModel> rooms = [];
|
||||||
if (json['data'] != null) {
|
if (json['data'] != null) {
|
||||||
for (var subspace in json['data']) {
|
for (var subspace in json['data']) {
|
||||||
|
|||||||
Reference in New Issue
Block a user