InstanceBlockDeviceMapping.fromJson constructor
Implementation
factory InstanceBlockDeviceMapping.fromJson(Map<String, dynamic> json) {
return InstanceBlockDeviceMapping(
deviceName: json['deviceName'] as String?,
ebs: json['ebs'] != null
? EbsInstanceBlockDeviceSpecification.fromJson(
json['ebs'] as Map<String, dynamic>)
: null,
noDevice: json['noDevice'] as String?,
virtualName: json['virtualName'] as String?,
);
}