TestEvent constructor
Implementation
factory TestEvent({
$core.String? name,
$core.String? payload,
$core.String? from,
$core.String? to,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (payload != null) {
$result.payload = payload;
}
if (from != null) {
$result.from = from;
}
if (to != null) {
$result.to = to;
}
return $result;
}