deserializeAll<T extends Object> method

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

Deserialize the collection of objects.

Implementation

Iterable<T?> deserializeAll<T extends Object>(
  Object object, {
  FullType specifiedType = FullType.unspecified,
}) {
  return (object as Iterable<Object?>)
      .map((object) => deserialize(object, specifiedType: specifiedType) as T);
}