ScanModel constructor

ScanModel({
  1. required String? name,
  2. required String? taskId,
  3. required String? actualOrder,
  4. required bool? scan,
  5. required bool? upload,
  6. required String? params,
  7. required String? apiUrl,
  8. required num? splitNum,
  9. required ScanState? state,
  10. required String? id,
  11. required String? wifiName,
  12. required String? wifiPassword,
})

Implementation

ScanModel(
    {required this.name,
    required this.taskId,
    required this.actualOrder,
    required this.scan,
    required this.upload,
    required this.params,
    required this.apiUrl,
    required this.splitNum,
    required this.state,
    required this.id,
    required this.wifiName,
    required this.wifiPassword}) {
  isSelected = false;
}