12 lines
243 B
Dart
12 lines
243 B
Dart
part of '../main.dart';
|
|
|
|
class LockEntity extends Entity {
|
|
LockEntity(Map rawData) : super(rawData);
|
|
|
|
bool get isLocked => state == "locked";
|
|
|
|
@override
|
|
Widget _buildStatePart(BuildContext context) {
|
|
return LockStateWidget();
|
|
}
|
|
} |