(types: f.PlatformType[] | undefined, device: { platformType?: f.PlatformType | null | undefined } | undefined)
| 71 | } |
| 72 | |
| 73 | public isSupported(types: f.PlatformType[] | undefined, device: { platformType?: f.PlatformType | null | undefined } | undefined) { |
| 74 | // types being `undefined` means we shouldn't filter, but being empty means we legit |
| 75 | // don't support any types. |
| 76 | return device && (!types || !device.platformType || types.includes(device.platformType)); |
| 77 | } |
| 78 | |
| 79 | public isDevicePreferred(device: f.Device | undefined): boolean { |
| 80 | const isPreferred = this.config.flutterRememberSelectedDevice |
no outgoing calls
no test coverage detected