RazorpayPaginationOptions constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayPaginationOptions({
  1. int? from,
  2. int? to,
  3. int? count,
  4. int? skip,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayPaginationOptions({
  /// The Unix timestamp from when data are to be fetched
  int? from,

  /// The Unix timestamp till when data are to be fetched.
  int? to,

  /// The number of data to be fetched. Default value is `10`. Maximum value is `100`.
  /// This can be used for pagination, in combination with skip.
  int? count,

  /// The number of data to be skipped. Default value is `0`.
  /// This can be used for pagination, in combination with count.
  int? skip,
}) = _RazorpayPaginationOptions;