maybeMap<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>(
  1. {TResult success(
    1. _SuccessApklisApiResult value
    )?,
  2. TResult failure(
    1. _FailureApklisApiResult value
    )?,
  3. required TResult orElse(
      )}
    )
    @optionalTypeArgsinherited

    Implementation

    @optionalTypeArgs
    TResult maybeMap<TResult extends Object?>({
      TResult Function(_SuccessApklisApiResult value)? success,
      TResult Function(_FailureApklisApiResult value)? failure,
      required TResult orElse(),
    }) =>
        throw _privateConstructorUsedError;