Revision.fromJson constructor
Revision.fromJson(
- Map json_
Implementation
Revision.fromJson(core.Map json_)
: this(
apiVersion: json_.containsKey('apiVersion')
? json_['apiVersion'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
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,
status: json_.containsKey('status')
? RevisionStatus.fromJson(
json_['status'] as core.Map<core.String, core.dynamic>)
: null,
);