toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (day != null) 'day': day!,
if (hour != null) 'hour': hour!,
if (minute != null) 'minute': minute!,
if (snapshotsToKeep != null) 'snapshotsToKeep': snapshotsToKeep!,
};