Metadata.fromJson constructor
Metadata.fromJson(
- 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,
);