Map<String, dynamic> toJson() { return <String, dynamic>{ 'offsetMillis': offset, 'coordinates': coordinates.toJson(), 'report': report, }; }