ServiceState.serviceCreate constructor

const ServiceState.serviceCreate({
  1. required ServiceModel serviceList,
  2. ServiceModel? selectedService,
  3. @Default(false) bool loading,
  4. @Default(false) bool isEditing,
})

Implementation

const factory ServiceState.serviceCreate({
  required ServiceModel serviceList,
  ServiceModel? selectedService,
  @Default(false) bool loading,
  @Default(false) bool isEditing,
}) = ServiceCreateState;