ConfigManagementGitConfig.fromJson constructor

ConfigManagementGitConfig.fromJson(
  1. Map json_
)

Implementation

ConfigManagementGitConfig.fromJson(core.Map json_)
    : this(
        gcpServiceAccountEmail: json_.containsKey('gcpServiceAccountEmail')
            ? json_['gcpServiceAccountEmail'] as core.String
            : null,
        httpsProxy: json_.containsKey('httpsProxy')
            ? json_['httpsProxy'] as core.String
            : null,
        policyDir: json_.containsKey('policyDir')
            ? json_['policyDir'] as core.String
            : null,
        secretType: json_.containsKey('secretType')
            ? json_['secretType'] as core.String
            : null,
        syncBranch: json_.containsKey('syncBranch')
            ? json_['syncBranch'] as core.String
            : null,
        syncRepo: json_.containsKey('syncRepo')
            ? json_['syncRepo'] as core.String
            : null,
        syncRev: json_.containsKey('syncRev')
            ? json_['syncRev'] as core.String
            : null,
        syncWaitSecs: json_.containsKey('syncWaitSecs')
            ? json_['syncWaitSecs'] as core.String
            : null,
      );