PreliminaryGetDataRequest constructor

PreliminaryGetDataRequest({
  1. Iterable<List<int>>? excludedKeys,
  2. Iterable<int>? supportedCapabilities,
  3. String? version,
  4. int? nonce,
})

Implementation

factory PreliminaryGetDataRequest({
  $core.Iterable<$core.List<$core.int>>? excludedKeys,
  $core.Iterable<$core.int>? supportedCapabilities,
  $core.String? version,
  $core.int? nonce,
}) {
  final $result = create();
  if (excludedKeys != null) {
    $result.excludedKeys.addAll(excludedKeys);
  }
  if (supportedCapabilities != null) {
    $result.supportedCapabilities.addAll(supportedCapabilities);
  }
  if (version != null) {
    $result.version = version;
  }
  if (nonce != null) {
    $result.nonce = nonce;
  }
  return $result;
}