Collection<T>.fromJson constructor
Decode a Collection from a Map
This is internally used by the code-generator to decode configs from the build.yaml
Implementation
Collection.fromJson(Map<Object?, Object?> json)
: this(
json['path']! as String,
name: json['name'] as String?,
prefix: json['prefix'] as String?,
);