GridResultJsonConfiguration.configure constructor

GridResultJsonConfiguration.configure({
  1. String? itemsJsonKey,
  2. String? hasMoreItemsJsonKey,
  3. String? currentPageJsonKey,
  4. String? startPageJsonKey,
  5. String? endPageJsonKey,
  6. String? pageCountJsonKey,
  7. String? pageSizeJsonKey,
  8. String? rowCountJsonKey,
  9. String? hasPreviousPageJsonKey,
  10. String? hasNextPageJsonKey,
  11. String? hasMultiplePagesJsonKey,
  12. String? firstRowOnPageJsonKey,
  13. String? lastRowOnPageJsonKey,
  14. String? hasItemsJsonKey,
  15. String? additionalDataJsonKey,
})

Implementation

GridResultJsonConfiguration.configure({
  String? itemsJsonKey,
  String? hasMoreItemsJsonKey,
  String? currentPageJsonKey,
  String? startPageJsonKey,
  String? endPageJsonKey,
  String? pageCountJsonKey,
  String? pageSizeJsonKey,
  String? rowCountJsonKey,
  String? hasPreviousPageJsonKey,
  String? hasNextPageJsonKey,
  String? hasMultiplePagesJsonKey,
  String? firstRowOnPageJsonKey,
  String? lastRowOnPageJsonKey,
  String? hasItemsJsonKey,
  String? additionalDataJsonKey,
}) {
  GridResultJsonConfiguration.itemsJsonKey =
      itemsJsonKey ?? GridResultJsonConfiguration.itemsJsonKey;
  GridResultJsonConfiguration.hasMoreItemsJsonKey =
      hasMoreItemsJsonKey ?? GridResultJsonConfiguration.hasMoreItemsJsonKey;
  GridResultJsonConfiguration.currentPageJsonKey =
      currentPageJsonKey ?? GridResultJsonConfiguration.currentPageJsonKey;
  GridResultJsonConfiguration.startPageJsonKey =
      startPageJsonKey ?? GridResultJsonConfiguration.startPageJsonKey;
  GridResultJsonConfiguration.endPageJsonKey =
      endPageJsonKey ?? GridResultJsonConfiguration.endPageJsonKey;
  GridResultJsonConfiguration.pageCountJsonKey =
      pageCountJsonKey ?? GridResultJsonConfiguration.pageCountJsonKey;
  GridResultJsonConfiguration.pageSizeJsonKey =
      pageSizeJsonKey ?? GridResultJsonConfiguration.pageSizeJsonKey;
  GridResultJsonConfiguration.rowCountJsonKey =
      rowCountJsonKey ?? GridResultJsonConfiguration.rowCountJsonKey;
  GridResultJsonConfiguration.hasPreviousPageJsonKey =
      hasPreviousPageJsonKey ??
          GridResultJsonConfiguration.hasPreviousPageJsonKey;
  GridResultJsonConfiguration.hasNextPageJsonKey =
      hasNextPageJsonKey ?? GridResultJsonConfiguration.hasNextPageJsonKey;
  GridResultJsonConfiguration.hasMultiplePagesJsonKey =
      hasMultiplePagesJsonKey ??
          GridResultJsonConfiguration.hasMultiplePagesJsonKey;
  GridResultJsonConfiguration.firstRowOnPageJsonKey = firstRowOnPageJsonKey ??
      GridResultJsonConfiguration.firstRowOnPageJsonKey;
  GridResultJsonConfiguration.lastRowOnPageJsonKey = lastRowOnPageJsonKey ??
      GridResultJsonConfiguration.lastRowOnPageJsonKey;
  GridResultJsonConfiguration.hasItemsJsonKey =
      hasItemsJsonKey ?? GridResultJsonConfiguration.hasItemsJsonKey;
  GridResultJsonConfiguration.additionalDataJsonKey = additionalDataJsonKey ??
      GridResultJsonConfiguration.additionalDataJsonKey;
}