NotifyRequest constructor

NotifyRequest({
  1. String? deviceId,
  2. String? keyId,
  3. KeyType? keyType,
  4. Iterable<NotifyMessage>? notifications,
})

Implementation

factory NotifyRequest({
  $core.String? deviceId,
  $core.String? keyId,
  KeyType? keyType,
  $core.Iterable<NotifyMessage>? notifications,
}) {
  final $result = create();
  if (deviceId != null) {
    $result.deviceId = deviceId;
  }
  if (keyId != null) {
    $result.keyId = keyId;
  }
  if (keyType != null) {
    $result.keyType = keyType;
  }
  if (notifications != null) {
    $result.notifications.addAll(notifications);
  }
  return $result;
}