mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. {TResult? lengthLimiting(
    1. LengthLimitingTextInputFormatter value
    )?,
  2. TResult? filtering(
    1. FilteringTextInputFormatter value
    )?,
  3. TResult? filteringAllow(
    1. FilteringAllowTextInputFormatter value
    )?,
  4. TResult? filteringDeny(
    1. FilteringDenyTextInputFormatter value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(LengthLimitingTextInputFormatter value)? lengthLimiting,
  TResult? Function(FilteringTextInputFormatter value)? filtering,
  TResult? Function(FilteringAllowTextInputFormatter value)? filteringAllow,
  TResult? Function(FilteringDenyTextInputFormatter value)? filteringDeny,
}) =>
    throw _privateConstructorUsedError;