core.Map<core.String, core.dynamic> toJson() => { if (replayReason != null) 'replayReason': replayReason!, };