EBSOptions.fromJson constructor

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

Implementation

factory EBSOptions.fromJson(Map<String, dynamic> json) {
  return EBSOptions(
    eBSEnabled: json['EBSEnabled'] as bool?,
    iops: json['Iops'] as int?,
    volumeSize: json['VolumeSize'] as int?,
    volumeType: (json['VolumeType'] as String?)?.toVolumeType(),
  );
}