AttributeReservedValue.fromJson constructor
Implementation
factory AttributeReservedValue.fromJson(Map<String, dynamic> json) {
final attribute = json['attribute'] ?? json['ownerUid'];
final value = json['value'];
final id = json['id'] ?? '${attribute}_$value';
return AttributeReservedValue(
id: id,
name: id,
attribute: attribute,
value: value,
expiryDate: json['expiryDate'],
created: json['created'],
dirty: json['dirty']);
}