Metadata.fromJson constructor

Metadata.fromJson(
  1. Map json_
)

Implementation

Metadata.fromJson(core.Map json_)
    : this(
        automation: json_.containsKey('automation')
            ? AutomationRolloutMetadata.fromJson(
                json_['automation'] as core.Map<core.String, core.dynamic>)
            : null,
        cloudRun: json_.containsKey('cloudRun')
            ? CloudRunMetadata.fromJson(
                json_['cloudRun'] as core.Map<core.String, core.dynamic>)
            : null,
        custom: json_.containsKey('custom')
            ? CustomMetadata.fromJson(
                json_['custom'] as core.Map<core.String, core.dynamic>)
            : null,
      );