defaultAttributionDeserializeBuilder method
默认属性反序列化构建器
Implementation
Attribution? defaultAttributionDeserializeBuilder(Map<String, dynamic> map) {
var attrName = map[keyAttributionId];
if (attrName == "link") {
return LinkAttribution(url: Uri.parse(map[keyAttributionLink]));
} else {
///为什么这么做呢,为了防止自定义的Attribution
for (var value in _allNameAttribution) {
if (attrName == value.id) {
return value;
}
}
}
return null;
}