EmptyDirVolumeSource.fromJson constructor
Creates a EmptyDirVolumeSource from JSON data.
Implementation
factory EmptyDirVolumeSource.fromJson(Map<String, dynamic> json) {
final tempMediumJson = json['medium'];
final tempSizeLimitJson = json['sizeLimit'];
final String? tempMedium = tempMediumJson;
final String? tempSizeLimit = tempSizeLimitJson;
return EmptyDirVolumeSource(
medium: tempMedium,
sizeLimit: tempSizeLimit,
);
}