ListMavenArtifactsResponse.fromJson constructor

ListMavenArtifactsResponse.fromJson(
  1. Map json_
)

Implementation

ListMavenArtifactsResponse.fromJson(core.Map json_)
    : this(
        mavenArtifacts: json_.containsKey('mavenArtifacts')
            ? (json_['mavenArtifacts'] as core.List)
                .map((value) => MavenArtifact.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );