whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? onSubmit(
    1. HouseholdModel householdModel
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(HouseholdModel householdModel)? onSubmit,
}) =>
    throw _privateConstructorUsedError;