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,
        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,
        numTriggers: json_.containsKey('numTriggers')
            ? json_['numTriggers'] as core.String
            : null,
        numVariables: json_.containsKey('numVariables')
            ? json_['numVariables'] as core.String
            : null,
      );