sessions property

List<Session> get sessions

A list of open window sessions for the foreign device, sorted from most recently to least recently modified session.

Implementation

List<Session> get sessions => _wrapped.sessions.toDart
    .cast<$js.Session>()
    .map((e) => Session.fromJS(e))
    .toList();
set sessions (List<Session> v)

Implementation

set sessions(List<Session> v) {
  _wrapped.sessions = v.toJSArray((e) => e.toJS);
}