setPropertyFromMarshalledIterable method

void setPropertyFromMarshalledIterable(
  1. String property,
  2. Iterable<MarshalledObject> iterable
)

Sets property from Dart iterable of serialised objects. Does not marshal.

Implementation

void setPropertyFromMarshalledIterable(String property, Iterable<MarshalledObject> iterable)
{
  MarshalledArray array = new MarshalledObject.emptyArray().asArray();
  array.addFromIterable(iterable);
  setPropertyUnsafe(property, array.getRawValue() );
}