mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? mentionRule(
    1. UThreadgateAllowMentionRule value
    )?,
  2. TResult? followingRule(
    1. UThreadgateAllowFollowingRule value
    )?,
  3. TResult? listRule(
    1. UThreadgateAllowListRule value
    )?,
  4. TResult? unknown(
    1. UThreadgateAllowUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UThreadgateAllowMentionRule value)? mentionRule,
  TResult? Function(UThreadgateAllowFollowingRule value)? followingRule,
  TResult? Function(UThreadgateAllowListRule value)? listRule,
  TResult? Function(UThreadgateAllowUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;