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