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,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        groupId: json_.containsKey('groupId')
            ? json_['groupId'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pomUri: json_.containsKey('pomUri')
            ? json_['pomUri'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );