Secrets.fromJson constructor

Secrets.fromJson(
  1. Map json_
)

Implementation

Secrets.fromJson(core.Map json_)
    : this(
        inline: (json_['inline'] as core.List?)
            ?.map((value) => InlineSecret.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        secretManager: (json_['secretManager'] as core.List?)
            ?.map((value) => SecretManagerSecret.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
      );