listFromJson static method
Implementation
static List<SchemaComponent> listFromJson(
Map<String, dynamic> json,
String key,
String path, [
int depth = 0,
]) {
final nodes = objects(json, key, path);
return List.generate(
nodes.length,
(index) =>
SchemaComponent.fromJson(nodes[index], '$path.$key[$index]', depth),
);
}