primaryDevice property

The first of all the primaryDevices.

This is a convenient method used when there is only one primary device, which is most of the cases in Flutter where the primary device is typically the phone.

Implementation

PrimaryDeviceConfiguration get primaryDevice => primaryDevices.first;