hash property
String
get
hash
Implementation
String get hash {
String hashMap(Map map) {
final List<String> orderedKeyValues = [];
map.forEach((key, value) { orderedKeyValues.add("$key|$value"); });
orderedKeyValues.sort((a,b) => a.compareTo(b));
return jsonEncode(orderedKeyValues);
}
return hashMap({
fieldRoute: route,
fieldQuery: params == null ? null : hashMap(params!),
AbstractRequestCli.fieldRequestType: requestType.toString().split('.').last,
});
}