Error constructor
Implementation
factory Error({
$core.String? event,
$core.String? error,
}) {
final $result = create();
if (event != null) {
$result.event = event;
}
if (error != null) {
$result.error = error;
}
return $result;
}