Dependency.fromJson constructor
Dependency.fromJson(
- Map json_
Implementation
Dependency.fromJson(core.Map json_)
: this(
empty: json_['empty'] as core.bool?,
genericArtifact: json_.containsKey('genericArtifact')
? GenericArtifactDependency.fromJson(
json_['genericArtifact'] as core.Map<core.String, core.dynamic>,
)
: null,
gitSource: json_.containsKey('gitSource')
? GitSourceDependency.fromJson(
json_['gitSource'] as core.Map<core.String, core.dynamic>,
)
: null,
);