RevisionTemplate.fromJson constructor
RevisionTemplate.fromJson(
- Map json_
Implementation
RevisionTemplate.fromJson(core.Map json_)
: this(
metadata: json_.containsKey('metadata')
? ObjectMeta.fromJson(
json_['metadata'] as core.Map<core.String, core.dynamic>)
: null,
spec: json_.containsKey('spec')
? RevisionSpec.fromJson(
json_['spec'] as core.Map<core.String, core.dynamic>)
: null,
);