CompilationCacheParams.fromJson constructor

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

Implementation

factory CompilationCacheParams.fromJson(Map<String, dynamic> json) {
  return CompilationCacheParams(
    url: json['url'] as String,
    eager: json.containsKey('eager') ? json['eager'] as bool : null,
  );
}