mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-16 01:56:24 +00:00
formatted all files.
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
|
||||
import 'dart:convert';
|
||||
|
||||
class AutomationStatusUpdate {
|
||||
@ -17,23 +16,23 @@ class AutomationStatusUpdate {
|
||||
|
||||
factory AutomationStatusUpdate.fromJson(Map<String, dynamic> json) =>
|
||||
AutomationStatusUpdate(
|
||||
spaceUuid: json["spaceUuid"],
|
||||
isEnable: json["isEnable"],
|
||||
spaceUuid: json['spaceUuid'],
|
||||
isEnable: json['isEnable'],
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
"spaceUuid": spaceUuid,
|
||||
"isEnable": isEnable,
|
||||
'spaceUuid': spaceUuid,
|
||||
'isEnable': isEnable,
|
||||
};
|
||||
|
||||
factory AutomationStatusUpdate.fromMap(Map<String, dynamic> map) =>
|
||||
AutomationStatusUpdate(
|
||||
spaceUuid: map["spaceUuid"],
|
||||
isEnable: map["isEnable"],
|
||||
spaceUuid: map['spaceUuid'],
|
||||
isEnable: map['isEnable'],
|
||||
);
|
||||
|
||||
Map<String, dynamic> toMap() => {
|
||||
"spaceUuid": spaceUuid,
|
||||
"isEnable": isEnable,
|
||||
'spaceUuid': spaceUuid,
|
||||
'isEnable': isEnable,
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user