$Recipe.fromJson constructor

$Recipe.fromJson(
  1. Map json_
)

Implementation

$Recipe.fromJson(core.Map json_)
    : this(
        arguments: json_.containsKey('arguments')
            ? (json_['arguments'] as core.List)
                .map((value) => value as core.Map<core.String, core.dynamic>)
                .toList()
            : 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.List)
                .map((value) => value as core.Map<core.String, core.dynamic>)
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );