import 'dart:collection'; import 'package:get/get.dart'; import 'package:vitalapp/managers/interfaces/models/device.dart'; class DevicesSettingState { final RxList _accessTypes = RxList(); final RxList _deviceList = RxList(); /// 已授权设备类型集合 List get accessTypes => UnmodifiableListView(_accessTypes); set accessTypes(List val) => _accessTypes.value = val; /// 设备信息集合 List get deviceList => UnmodifiableListView(_deviceList); set deviceList(List val) => _deviceList.value = val; }