fromDynamicList<T> static method
Helper function to create a list
of dynamic objects given a builder
that can build a single object.
Implementation
static List<T> fromDynamicList<T>(
Iterable<dynamic> list,
JsonClassBuilder<T> builder,
) {
final result = maybeFromDynamicList(list, builder);
if (result == null) {
throw Exception('Attempted to parse dynamic list but received null');
}
return result;
}