StorageOSPersistentVolumeSource.fromJson constructor

StorageOSPersistentVolumeSource.fromJson(
  1. Map<String, dynamic> json
)

Creates a StorageOSPersistentVolumeSource from JSON data.

Implementation

StorageOSPersistentVolumeSource.fromJson(Map<String, dynamic> json)
    : this(
        fsType: json['fsType'],
        readOnly: json['readOnly'],
        secretRef: json['secretRef'] != null
            ? ObjectReference.fromJson(json['secretRef'])
            : null,
        volumeName: json['volumeName'],
        volumeNamespace: json['volumeNamespace'],
      );