listSerializer<T> function

DynamicSerializer<List<T>> listSerializer<T>(
  1. DynamicSerializer<T> serializer
)

Implementation

DynamicSerializer<List<T>> listSerializer<T>(DynamicSerializer<T> serializer) {
  return (dynamic data) => (data as List<T>).map((e) => serializer(e)).toList();
}