ConnectRequest constructor

ConnectRequest({
  1. String? remoteId,
  2. bool? androidAutoConnect,
  3. int? connectionPriority,
  4. int? mtu,
})

Implementation

factory ConnectRequest({
  $core.String? remoteId,
  $core.bool? androidAutoConnect,
  $core.int? connectionPriority,
  $core.int? mtu,
}) {
  final _result = create();
  if (remoteId != null) {
    _result.remoteId = remoteId;
  }
  if (androidAutoConnect != null) {
    _result.androidAutoConnect = androidAutoConnect;
  }
  if (connectionPriority != null) {
    _result.connectionPriority = connectionPriority;
  }
  if (mtu != null) {
    _result.mtu = mtu;
  }
  return _result;
}