BackForwardCacheNotRestoredExplanationTree.fromJson constructor

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

Implementation

factory BackForwardCacheNotRestoredExplanationTree.fromJson(
    Map<String, dynamic> json) {
  return BackForwardCacheNotRestoredExplanationTree(
    url: json['url'] as String,
    explanations: (json['explanations'] as List)
        .map((e) => BackForwardCacheNotRestoredExplanation.fromJson(
            e as Map<String, dynamic>))
        .toList(),
    children: (json['children'] as List)
        .map((e) => BackForwardCacheNotRestoredExplanationTree.fromJson(
            e as Map<String, dynamic>))
        .toList(),
  );
}