MavenArtifact.fromJson constructor

MavenArtifact.fromJson(
  1. Map json_
)

Implementation

MavenArtifact.fromJson(core.Map json_)
    : this(
        artifactId: json_.containsKey('artifactId')
            ? json_['artifactId'] as core.String
            : null,
        groupId: json_.containsKey('groupId')
            ? json_['groupId'] as core.String
            : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        repository: json_.containsKey('repository')
            ? json_['repository'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );