ISCSIVolumeSource.fromJson constructor
Creates a ISCSIVolumeSource from JSON data.
Implementation
ISCSIVolumeSource.fromJson(Map<String, dynamic> json)
: this(
chapAuthDiscovery: json['chapAuthDiscovery'],
chapAuthSession: json['chapAuthSession'],
fsType: json['fsType'],
initiatorName: json['initiatorName'],
iqn: json['iqn'],
iscsiInterface: json['iscsiInterface'],
lun: json['lun'],
portals: json['portals'] != null
? List<String>.from(json['portals'])
: null,
readOnly: json['readOnly'],
secretRef: json['secretRef'] != null
? LocalObjectReference.fromJson(json['secretRef'])
: null,
targetPortal: json['targetPortal'],
);