maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult profileViewBasic(
    1. UModerationSubjectProfileProfileViewBasic value
    )?,
  2. TResult profileView(
    1. UModerationSubjectProfileProfileView value
    )?,
  3. TResult profileViewDetailed(
    1. UModerationSubjectProfileProfileViewDetailed value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UModerationSubjectProfileProfileViewBasic value)?
      profileViewBasic,
  TResult Function(UModerationSubjectProfileProfileView value)? profileView,
  TResult Function(UModerationSubjectProfileProfileViewDetailed value)?
      profileViewDetailed,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;