Map<String, dynamic> toJson() { return { 'breakpointId': breakpointId.toJson(), 'location': location.toJson(), }; }