deserializeAllWith<T extends Object> method

Iterable<T?> deserializeAllWith<T extends Object>(
  1. Serializer<T> serializer,
  2. Object object
)

Deserialize the collection of objects using Serializer.

Implementation

Iterable<T?> deserializeAllWith<T extends Object>(
  Serializer<T> serializer,
  Object object,
) {
  return (object as Iterable<Object?>).map((object) => deserializeWith<T>(serializer, object));
}