when<TResult extends Object?> method

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

Implementation

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