InjectedDependency.fromJson constructor
Implementation
factory InjectedDependency.fromJson(Map<String, dynamic> json) {
var type;
if (json['type'] != null) {
type = ImportableType.fromJson(json['type']);
}
return InjectedDependency(
type: type,
instanceName: json['instanceName'],
paramName: json['paramName'],
isFactoryParam: json['isFactoryParam'],
isPositional: json['isPositional'],
);
}