BlockDeviceMapping.fromJson constructor
Implementation
factory BlockDeviceMapping.fromJson(Map<String, dynamic> json) {
return BlockDeviceMapping(
deviceName: json['DeviceName'] as String?,
ebs: json['Ebs'] != null
? EbsBlockDevice.fromJson(json['Ebs'] as Map<String, dynamic>)
: null,
noDevice: json['NoDevice'] as String?,
virtualName: json['VirtualName'] as String?,
);
}