mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 17:47:28 +00:00
getting spaces and rooms from api {null checks}
This commit is contained in:
@ -3,7 +3,7 @@ import 'package:syncrow_app/features/devices/model/room_model.dart';
|
||||
class SpaceModel {
|
||||
final int? id;
|
||||
final String? name;
|
||||
final List<RoomModel>? rooms;
|
||||
late List<RoomModel>? rooms;
|
||||
|
||||
SpaceModel({
|
||||
required this.id,
|
||||
|
Reference in New Issue
Block a user