ConfigVariable.fromJson constructor

ConfigVariable.fromJson(
  1. Map json_
)

Implementation

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