CacheBehavior.fromJson constructor

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

Implementation

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