ConfigVariable.fromJson constructor

ConfigVariable.fromJson(
  1. Map json_
)

Implementation

ConfigVariable.fromJson(core.Map json_)
  : this(
      boolValue: json_['boolValue'] as core.bool?,
      encryptionKeyValue: json_.containsKey('encryptionKeyValue')
          ? EncryptionKey.fromJson(
              json_['encryptionKeyValue']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      intValue: json_['intValue'] as core.String?,
      key: json_['key'] as core.String?,
      secretValue: json_.containsKey('secretValue')
          ? Secret.fromJson(
              json_['secretValue'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      stringValue: json_['stringValue'] as core.String?,
    );