Options constructor
Options({})
Implementation
Options({
this.select,
this.sort,
num? offset,
num? page,
num? limit,
bool? pagination,
this.populate,
}) : offset = offset ?? 0, // Providing default values if none were passed
page = page ?? 0,
limit = limit ?? 10, // For example, default limit of 10
pagination = pagination ?? true;