DeviceRegistrationState constructor

const DeviceRegistrationState({
  1. List<Map<String, String>> organizationList = const [],
  2. List<String> productTypeList = const ["main", "mini"],
  3. String? selectedOrganizationId,
  4. String? selectedOrganizationName,
  5. String? selectedProductType,
  6. String deviceName = '',
  7. String kitId = '',
  8. String tabletSerialNumber = '',
  9. String tocoId = '',
  10. bool isSubmitting = false,
  11. String? errorMessage,
  12. bool isSuccess = false,
})

Implementation

const DeviceRegistrationState({
  this.organizationList = const [],
  this.productTypeList = const ["main", "mini"],
  this.selectedOrganizationId,
  this.selectedOrganizationName,
  this.selectedProductType,
  this.deviceName = '',
  this.kitId = '',
  this.tabletSerialNumber = '',
  this.tocoId = '',
  this.isSubmitting = false,
  this.errorMessage,
  this.isSuccess = false,
});