HostPathVolumeSource.fromJson constructor
Creates a HostPathVolumeSource from JSON data.
Implementation
factory HostPathVolumeSource.fromJson(Map<String, dynamic> json) {
final tempPathJson = json['path'];
final tempTypeJson = json['type'];
final String tempPath = tempPathJson;
final String? tempType = tempTypeJson;
return HostPathVolumeSource(
path: tempPath,
type: tempType,
);
}