GetSessionsResponse constructor

GetSessionsResponse({
  1. Iterable<Session>? sessions,
})

Implementation

factory GetSessionsResponse({
  $core.Iterable<Session>? sessions,
}) {
  final $result = create();
  if (sessions != null) {
    $result.sessions.addAll(sessions);
  }
  return $result;
}