mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
[compass_app/server] Misc consistency improvements (#2539)
This commit is contained in:
@@ -22,7 +22,7 @@ import '../model/booking/booking.dart';
|
||||
class BookingApi {
|
||||
BookingApi() {
|
||||
// Create a default booking
|
||||
var destination = Assets.destinations.first;
|
||||
final destination = Assets.destinations.first;
|
||||
final activitiesRef = Assets.activities
|
||||
.where((activity) => activity.destinationRef == destination.ref)
|
||||
.map((activity) => activity.ref)
|
||||
|
||||
Reference in New Issue
Block a user