commonParams property

Map<String, dynamic> get commonParams

Implementation

Map<String, dynamic> get commonParams {
  var params = <String, dynamic>{};
  params[PageKey.page] = page;
  if (pageSize != null) {
    params[PageKey.pageSize] = pageSize;
  }
  if (requestParams != null) {
    params.addAll(requestParams!);
  }
  return params;
}