cacheKey property

String get cacheKey

Generates a cache key from method, path, and body.

Implementation

String get cacheKey {
  final hash = '$method:$path:${body ?? ''}';
  return hash.hashCode.toRadixString(36);
}