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