25 lines
721 B
Dart
Executable File

import 'package:get/get.dart';
import 'package:star_lock/main/lockDetail/videoLog/videoLog/videoLog_entity.dart';
class EditVideoLogState {
EditVideoLogState() {
Map map = Get.arguments;
if (map['videoDataList'] != null) {
videoLogList.value = map['videoDataList'];
}
if (map['lockId'] != null) {
getLockId.value = map['lockId'];
}
if (map['isNavLocal'] != null) {
isNavLocal.value = map['isNavLocal'];
}
}
RxList<RecordListData> selectVideoLogList = <RecordListData>[].obs; //选中的视频列表
RxBool isSelectAll = false.obs;
RxList videoLogList = <CloudStorageData>[].obs; //全部的视频列表
RxInt getLockId = 0.obs;
var isNavLocal = false.obs;
}