DataRetrievalPolicy.fromJson constructor
Implementation
factory DataRetrievalPolicy.fromJson(Map<String, dynamic> json) {
return DataRetrievalPolicy(
rules: (json['Rules'] as List?)
?.whereNotNull()
.map((e) => DataRetrievalRule.fromJson(e as Map<String, dynamic>))
.toList(),
);
}