Alert constructor
Alert({})
Implementation
factory Alert({
$core.String? message,
$core.String? version,
$core.bool? isUpdateInfo,
$core.String? signatureAsBase64,
$core.List<$core.int>? ownerPubKeyBytes,
$core.Map<$core.String, $core.String>? extraData,
$core.bool? isPreReleaseInfo,
}) {
final $result = create();
if (message != null) {
$result.message = message;
}
if (version != null) {
$result.version = version;
}
if (isUpdateInfo != null) {
$result.isUpdateInfo = isUpdateInfo;
}
if (signatureAsBase64 != null) {
$result.signatureAsBase64 = signatureAsBase64;
}
if (ownerPubKeyBytes != null) {
$result.ownerPubKeyBytes = ownerPubKeyBytes;
}
if (extraData != null) {
$result.extraData.addAll(extraData);
}
if (isPreReleaseInfo != null) {
$result.isPreReleaseInfo = isPreReleaseInfo;
}
return $result;
}