InjectedDependency.fromJson constructor

InjectedDependency.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory InjectedDependency.fromJson(Map<String, dynamic> json) {
  return InjectedDependency(
    type: ImportableType.fromJson(json['type']),
    instanceName: json['instanceName'],
    paramName: json['paramName'],
    isFactoryParam: json['isFactoryParam'],
    isPositional: json['isPositional'],
  );
}