Corpus.fromJson constructor
Implementation
factory Corpus.fromJson(Map<String, dynamic> json) {
return Corpus(
name: json['name'] ?? '',
displayName: json['displayName'] ?? '',
createTime: decodeCustom(json['createTime'], Timestamp.fromJson),
updateTime: decodeCustom(json['updateTime'], Timestamp.fromJson),
);
}