internal_serialize method
Export all properties with ResourceProperty attributed as bytes array.
Implementation
List<PropertyValue> internal_serialize() {
// var props = _properties as List;
// var rt = List<PropertyValue>(_properties.length);
// for (var i = 0; i < _properties.length; i++)
// rt[i] = new PropertyValue(_properties[i], instance?.getAge(i) as int,
// instance?.getModificationDate(i) as DateTime);
return List<PropertyValue>.generate(
_properties.length,
(i) => PropertyValue(_properties[i], instance?.getAge(i) as int,
instance?.getModificationDate(i) as DateTime));
//return rt;
}