30 lines
869 B
Dart
Executable File
30 lines
869 B
Dart
Executable File
|
|
import 'package:get/get.dart';
|
|
|
|
class AddFingerprintTipState{
|
|
final lockId = 0.obs;
|
|
final endDate = "".obs;
|
|
final addType = "".obs;
|
|
final fingerprintName = "".obs;
|
|
final fingerprintNumber = "".obs;
|
|
final fingerprintType = "".obs;
|
|
final isCoerced = "".obs;
|
|
final startDate = "".obs;
|
|
final weekDay = [].obs;
|
|
final fromType = 1.obs;
|
|
|
|
AddFingerprintTipState() {
|
|
Map map = Get.arguments;
|
|
lockId.value = map["lockId"];
|
|
endDate.value = map["endDate"];
|
|
addType.value = map["addType"];
|
|
fingerprintName.value = map["fingerprintName"];
|
|
fingerprintNumber.value = map["fingerprintNumber"];
|
|
fingerprintType.value = map["fingerprintType"];
|
|
isCoerced.value = map["isCoerced"];
|
|
startDate.value = map["startDate"];
|
|
lockId.value = map["lockId"];
|
|
weekDay.value = map["weekDay"];
|
|
fromType.value = map["fromType"];
|
|
}
|
|
} |