ContainerVersionHeader.fromJson constructor

ContainerVersionHeader.fromJson(
  1. Map json_
)

Implementation

ContainerVersionHeader.fromJson(core.Map json_)
    : this(
        accountId: json_.containsKey('accountId')
            ? json_['accountId'] as core.String
            : null,
        containerId: json_.containsKey('containerId')
            ? json_['containerId'] as core.String
            : null,
        containerVersionId: json_.containsKey('containerVersionId')
            ? json_['containerVersionId'] as core.String
            : null,
        deleted: json_.containsKey('deleted')
            ? json_['deleted'] as core.bool
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        numClients: json_.containsKey('numClients')
            ? json_['numClients'] as core.String
            : null,
        numCustomTemplates: json_.containsKey('numCustomTemplates')
            ? json_['numCustomTemplates'] as core.String
            : null,
        numGtagConfigs: json_.containsKey('numGtagConfigs')
            ? json_['numGtagConfigs'] as core.String
            : null,
        numMacros: json_.containsKey('numMacros')
            ? json_['numMacros'] as core.String
            : null,
        numRules: json_.containsKey('numRules')
            ? json_['numRules'] as core.String
            : null,
        numTags: json_.containsKey('numTags')
            ? json_['numTags'] as core.String
            : null,
        numTransformations: json_.containsKey('numTransformations')
            ? json_['numTransformations'] as core.String
            : null,
        numTriggers: json_.containsKey('numTriggers')
            ? json_['numTriggers'] as core.String
            : null,
        numVariables: json_.containsKey('numVariables')
            ? json_['numVariables'] as core.String
            : null,
        numZones: json_.containsKey('numZones')
            ? json_['numZones'] as core.String
            : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
      );