Alert constructor

Alert({
  1. String? message,
  2. String? version,
  3. bool? isUpdateInfo,
  4. String? signatureAsBase64,
  5. List<int>? ownerPubKeyBytes,
  6. Map<String, String>? extraData,
  7. bool? isPreReleaseInfo,
})

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;
}