whenOrNull<TResult extends Object?> method

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

Implementation

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