WebResourceDependencies.fromJson constructor
Implementation
factory WebResourceDependencies.fromJson(Map<String, Object?> json) {
return WebResourceDependencies(
expandable: json[r'_expandable'] != null
? WebResourceDependenciesExpandable.fromJson(
json[r'_expandable']! as Map<String, Object?>)
: null,
keys: (json[r'keys'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
contexts: (json[r'contexts'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
uris: json[r'uris'] != null
? WebResourceDependenciesUris.fromJson(
json[r'uris']! as Map<String, Object?>)
: null,
tags: json[r'tags'] != null
? WebResourceDependenciesTags.fromJson(
json[r'tags']! as Map<String, Object?>)
: null,
superbatch: json[r'superbatch'] != null
? SuperBatchWebResources.fromJson(
json[r'superbatch']! as Map<String, Object?>)
: null,
);
}