EphemeralVolumeSource.fromJson constructor
Creates a EphemeralVolumeSource from JSON data.
Implementation
factory EphemeralVolumeSource.fromJson(Map<String, dynamic> json) {
final tempVolumeClaimTemplateJson = json['volumeClaimTemplate'];
final PersistentVolumeClaimTemplate? tempVolumeClaimTemplate =
tempVolumeClaimTemplateJson != null
? PersistentVolumeClaimTemplate.fromJson(
tempVolumeClaimTemplateJson)
: null;
return EphemeralVolumeSource(
volumeClaimTemplate: tempVolumeClaimTemplate,
);
}