RoomViewModel class
Constructors
- RoomViewModel({required String accessKey, required String accessSecret, required String uniqueId, required String suiteId, required String measureMode, required String phaseCode, required BuildContext currentContext})
Properties
- accessKey ↔ String
-
getter/setter pair
- accessSecret ↔ String
-
getter/setter pair
- currentContext ↔ BuildContext
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- logic ↔ STLogic?
-
getter/setter pair
- measureMode ↔ String
-
getter/setter pair
- myWifiName ↔ String?
-
getter/setter pair
- myWifiPassword ↔ String?
-
getter/setter pair
- newSuiteId ↔ String?
-
getter/setter pair
- phaseCode ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- suiteId ↔ String
-
getter/setter pair
- uniqueId ↔ String
-
getter/setter pair
Methods
-
checkStationDesign(
RoomModel model, StationData station, {dynamic callback(bool isExist)?}) → Future< bool> -
disconnectWifi(
) → void -
enterScanning(
RoomModel model, StationData stationModel, Map dataSource, dynamic callback(bool isSuccess, String msg)) → void -
getDesignList(
RoomModel model, StationData station, {dynamic callback(List< DesignModel> res)?}) → Future<List< DesignModel> > -
loadData(
RoomModelNetworkResponse callback) → void -
loadOriginalData(
RoomModelNetworkResponse callback) → void -
loadWifiConfig(
{required dynamic callback(String wifiName, String password)}) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
proccessScanModel(
RoomModel model, StationData stationModel, Map dataSource) → Future< ScanModel> -
saveWifiConfig(
{required String wifiName, required String password}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
convertHouseTypeImg(
String? imgJson) → String