GridResultJsonConfiguration.configure constructor
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,
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;
}