map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult blocking(
    1. UModerationCauseBlocking value
    ),
  2. required TResult blockedBy(
    1. UModerationCauseBlockedBy value
    ),
  3. required TResult blockOther(
    1. UModerationCauseBlockOther value
    ),
  4. required TResult label(
    1. UModerationCauseLabel value
    ),
  5. required TResult muted(
    1. UModerationCauseMuted value
    ),
  6. required TResult muteWord(
    1. UModerationCauseMuteWord value
    ),
  7. required TResult hidden(
    1. UModerationCauseHidden value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(UModerationCauseBlocking value) blocking,
  required TResult Function(UModerationCauseBlockedBy value) blockedBy,
  required TResult Function(UModerationCauseBlockOther value) blockOther,
  required TResult Function(UModerationCauseLabel value) label,
  required TResult Function(UModerationCauseMuted value) muted,
  required TResult Function(UModerationCauseMuteWord value) muteWord,
  required TResult Function(UModerationCauseHidden value) hidden,
}) =>
    throw _privateConstructorUsedError;