ListSessionsResponse constructor

ListSessionsResponse({
  1. ListDetails? details,
  2. Iterable<Session>? sessions,
})

Implementation

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