Resolves #151 Group visibility support

This commit is contained in:
Yegor Vialov
2018-10-21 16:11:47 +03:00
parent 6a43e04b31
commit 0f6babc243
3 changed files with 25 additions and 7 deletions

View File

@ -62,6 +62,7 @@ class Entity {
String get unitOfMeasurement => attributes["unit_of_measurement"] ?? "";
List get childEntityIds => attributes["entity_id"] ?? [];
String get lastUpdated => _getLastUpdatedFormatted();
bool get isHidden => attributes["hidden"] ?? false;
Entity(Map rawData) {
update(rawData);