ConnectResponse constructor

ConnectResponse({
  1. ConnectApp? connectApp,
  2. Iterable<ConnectApp>? connectApps,
})

Implementation

factory ConnectResponse({
  ConnectApp? connectApp,
  $core.Iterable<ConnectApp>? connectApps,
}) {
  final _result = create();
  if (connectApp != null) {
    _result.connectApp = connectApp;
  }
  if (connectApps != null) {
    _result.connectApps.addAll(connectApps);
  }
  return _result;
}