toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (batchFailures != null) 'batchFailures': batchFailures!,
if (eventFailures != null) 'eventFailures': eventFailures!,
if (kind != null) 'kind': kind!,
if (playerEvents != null) 'playerEvents': playerEvents!,
};