mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult api(
    1. _Api value
    )?,
  2. TResult unknown(
    1. _Unknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult Function(_Api value)? api,
  TResult Function(_Unknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;