serializeAll method

Iterable<Object?> serializeAll(
  1. Object object, {
  2. FullType specifiedType = FullType.unspecified,
})

Serialize the collection of objects.

Implementation

Iterable<Object?> serializeAll(
  Object object, {
  FullType specifiedType = FullType.unspecified,
}) {
  return (object as Iterable<Object>)
      .map((object) => serialize(object, specifiedType: specifiedType));
}