EntryPreview.fromJson constructor
Implementation
factory EntryPreview.fromJson(Map<String, dynamic> json) {
return EntryPreview(
key: json.containsKey('key')
? ObjectPreview.fromJson(json['key'] as Map<String, dynamic>)
: null,
value: ObjectPreview.fromJson(json['value'] as Map<String, dynamic>),
);
}