CacheBehaviorPerPath.fromJson constructor

CacheBehaviorPerPath.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CacheBehaviorPerPath.fromJson(Map<String, dynamic> json) {
  return CacheBehaviorPerPath(
    behavior: (json['behavior'] as String?)?.toBehaviorEnum(),
    path: json['path'] as String?,
  );
}