Result constructor
Implementation
factory Result({
$core.List<$core.int>? data,
$core.String? log,
$core.Iterable<$0.Event>? events,
}) {
final _result = create();
if (data != null) {
_result.data = data;
}
if (log != null) {
_result.log = log;
}
if (events != null) {
_result.events.addAll(events);
}
return _result;
}