Commit cf794f42 authored by Devon Carew's avatar Devon Carew Committed by GitHub

return info about whether a device is an emulator (#6114)

parent e01592a0
......@@ -557,11 +557,12 @@ class DeviceDomain extends Domain {
}
}
Map<String, String> _deviceToMap(Device device) {
return <String, String>{
Map<String, dynamic> _deviceToMap(Device device) {
return <String, dynamic>{
'id': device.id,
'name': device.name,
'platform': getNameForTargetPlatform(device.platform)
'platform': getNameForTargetPlatform(device.platform),
'emulator': device.isLocalEmulator
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment