General map representation
Map<String, dynamic> get map => { 'locations': locations.map((e) => e.map).toList(), 'done': done, };