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