byPlatform static method

List<Device> byPlatform(
  1. DevicePlatform platform
)

Implementation

static List<Device> byPlatform(DevicePlatform platform) {
  return allDevices.where((device) => device.platform == platform).toList();
}