whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? page()?,
- TResult? cursor()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(int currentPage, int perPage, int total)? page,
TResult? Function(String startCursor, String endCursor, bool hasNextPage)?
cursor,
}) =>
throw _privateConstructorUsedError;