Secret.fromJson constructor

Secret.fromJson(
  1. Map json_
)

Implementation

Secret.fromJson(core.Map json_)
    : this(
        kmsKeyName: json_.containsKey('kmsKeyName')
            ? json_['kmsKeyName'] as core.String
            : null,
        secretEnv: json_.containsKey('secretEnv')
            ? (json_['secretEnv'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );