MavenRepositoryConfig.fromJson constructor

MavenRepositoryConfig.fromJson(
  1. Map json_
)

Implementation

MavenRepositoryConfig.fromJson(core.Map json_)
    : this(
        allowSnapshotOverwrites: json_.containsKey('allowSnapshotOverwrites')
            ? json_['allowSnapshotOverwrites'] as core.bool
            : null,
        versionPolicy: json_.containsKey('versionPolicy')
            ? json_['versionPolicy'] as core.String
            : null,
      );