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