mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. {TResult? http(
    1. NetworkHttpRequest value
    )?,
  2. TResult? formSubmit(
    1. FormSubmitNetworkRequest value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(NetworkHttpRequest value)? http,
  TResult? Function(FormSubmitNetworkRequest value)? formSubmit,
}) =>
    throw _privateConstructorUsedError;