PersistentVolumeClaimVolumeSource.fromJson constructor
Creates a PersistentVolumeClaimVolumeSource from JSON data.
Implementation
factory PersistentVolumeClaimVolumeSource.fromJson(
Map<String, dynamic> json) {
final tempClaimNameJson = json['claimName'];
final tempReadOnlyJson = json['readOnly'];
final String tempClaimName = tempClaimNameJson;
final bool? tempReadOnly = tempReadOnlyJson;
return PersistentVolumeClaimVolumeSource(
claimName: tempClaimName,
readOnly: tempReadOnly,
);
}