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