maybeMap<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeMap<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
    )?,
  5. required TResult orElse(
      )}
    )
    @optionalTypeArgs, inherited

    Implementation

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