$SlsaRecipe.fromJson constructor

$SlsaRecipe.fromJson(
  1. Map json_
)

Implementation

$SlsaRecipe.fromJson(core.Map json_)
    : this(
        arguments: json_.containsKey('arguments')
            ? json_['arguments'] as core.Map<core.String, core.dynamic>
            : null,
        definedInMaterial: json_.containsKey('definedInMaterial')
            ? json_['definedInMaterial'] as core.String
            : null,
        entryPoint: json_.containsKey('entryPoint')
            ? json_['entryPoint'] as core.String
            : null,
        environment: json_.containsKey('environment')
            ? json_['environment'] as core.Map<core.String, core.dynamic>
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );