maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult create(
    1. ComplaintsRegistrationCreateState value
    )?,
  2. TResult view(
    1. ComplaintsRegistrationViewState value
    )?,
  3. TResult persisted(
    1. ComplaintsRegistrationPersistedState value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(ComplaintsRegistrationCreateState value)? create,
  TResult Function(ComplaintsRegistrationViewState value)? view,
  TResult Function(ComplaintsRegistrationPersistedState value)? persisted,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;