BoundaryState constructor

const BoundaryState({
  1. @Default(false) bool loading,
  2. @Default([]) List<BoundaryModel> boundaryList,
  3. @Default([]) List<BoundaryModel> projectBoundaryList,
  4. @Default({}) Map<String, BoundaryModel?> selectedBoundaryMap,
  5. @Default(false) bool hasSubmitted,
})

Implementation

const factory BoundaryState({
  @Default(false) bool loading,
  @Default([]) List<BoundaryModel> boundaryList,
  @Default([]) List<BoundaryModel> projectBoundaryList,
  @Default({}) Map<String, BoundaryModel?> selectedBoundaryMap,
  @Default(false) bool hasSubmitted,
}) = _BoundaryState;