AuthConfigTemplate.fromJson constructor

AuthConfigTemplate.fromJson(
  1. Map json_
)

Implementation

AuthConfigTemplate.fromJson(core.Map json_)
    : this(
        authKey: json_.containsKey('authKey')
            ? json_['authKey'] as core.String
            : null,
        authType: json_.containsKey('authType')
            ? json_['authType'] as core.String
            : null,
        configVariableTemplates: json_.containsKey('configVariableTemplates')
            ? (json_['configVariableTemplates'] as core.List)
                .map((value) => ConfigVariableTemplate.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
      );