Data constructor
Implementation
factory Data({
$core.String? type,
$core.List<$core.int>? payload,
}) {
final _result = create();
if (type != null) {
_result.type = type;
}
if (payload != null) {
_result.payload = payload;
}
return _result;
}