FlockerVolumeSource.fromJson constructor
Creates a FlockerVolumeSource from JSON data.
Implementation
factory FlockerVolumeSource.fromJson(Map<String, dynamic> json) {
final tempDatasetNameJson = json['datasetName'];
final tempDatasetUUIDJson = json['datasetUUID'];
final String? tempDatasetName = tempDatasetNameJson;
final String? tempDatasetUUID = tempDatasetUUIDJson;
return FlockerVolumeSource(
datasetName: tempDatasetName,
datasetUUID: tempDatasetUUID,
);
}