serializeAllWith<T> method
Serialize the collection of objects using Serializer
.
Implementation
Iterable<Object?> serializeAllWith<T>(
Serializer<T> serializer,
Object object,
) {
return (object as Iterable<Object>).map((object) => serializeWith<T>(serializer, object as T));
}