NotifyRequest constructor
NotifyRequest({
- String? deviceId,
- String? keyId,
- KeyType? keyType,
- 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;
}