key method

String key(
  1. List params
)

Returns a matching key, that can be used to match the original request to subsequent notifications.

Implementation

String key(List params) {
  var slice = params.sublist(0, paramsCount);
  var json = jsonEncode(slice);
  return '$methodPrefix$json';
}