setParams method

  1. @override
void setParams(
  1. RestRequest request
)
override

Implementation

@override
setParams(RestRequest request) {
  super.setParams(request);

  Map<String, dynamic> parameters = request.params;

  String? appId = CubeSettings.instance.applicationId;
  String? authKey = CubeSettings.instance.authorizationKey;

  putValue(parameters, APP_ID, appId);
  putValue(parameters, AUTH_KEY, authKey);
}