SetConnectionRequest constructor

SetConnectionRequest({
  1. String? url,
  2. UrlConnection? connection,
})

Implementation

factory SetConnectionRequest({
  $core.String? url,
  UrlConnection? connection,
}) {
  final $result = create();
  if (url != null) {
    $result.url = url;
  }
  if (connection != null) {
    $result.connection = connection;
  }
  return $result;
}