Device constructor
Implementation
Device({
required String info,
/// The name of the foreign device.
required String deviceName,
/// A list of open window sessions for the foreign device, sorted from most
/// recently to least recently modified session.
required List<Session> sessions,
}) : _wrapped = $js.Device(
info: info,
deviceName: deviceName,
sessions: sessions.toJSArray((e) => e.toJS),
);