Skip to content

Commit e1a35cc

Browse files
committed
add license header to files under /app
1 parent db8b8e6 commit e1a35cc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+188
-0
lines changed

compass_app/app/lib/config/assets.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
class Assets {
26
static const activities = 'assets/activities.json';
37
static const destinations = 'assets/destinations.json';

compass_app/app/lib/config/dependencies.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:provider/single_child_widget.dart';
26
import 'package:provider/provider.dart';
37

compass_app/app/lib/data/repositories/activity/activity_repository.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/activity/activity.dart';
26
import '../../../utils/result.dart';
37

compass_app/app/lib/data/repositories/activity/activity_repository_local.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/activity/activity.dart';
26
import '../../../utils/result.dart';
37
import '../../services/local/local_data_service.dart';

compass_app/app/lib/data/repositories/activity/activity_repository_remote.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/activity/activity.dart';
26
import '../../../utils/result.dart';
37
import '../../services/api/api_client.dart';

compass_app/app/lib/data/repositories/auth/auth_repository.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:flutter/foundation.dart';
26

37
import '../../../utils/result.dart';

compass_app/app/lib/data/repositories/auth/auth_repository_dev.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../utils/result.dart';
26
import 'auth_repository.dart';
37

compass_app/app/lib/data/repositories/auth/auth_repository_remote.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:logging/logging.dart';
26

37
import '../../../utils/result.dart';

compass_app/app/lib/data/repositories/booking/booking_repository.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/booking/booking.dart';
26
import '../../../domain/models/booking/booking_summary.dart';
37
import '../../../utils/result.dart';

compass_app/app/lib/data/repositories/booking/booking_repository_local.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'dart:async';
26

37
import 'package:collection/collection.dart';

compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/activity/activity.dart';
26
import '../../../domain/models/booking/booking.dart';
37
import '../../../domain/models/booking/booking_summary.dart';

compass_app/app/lib/data/repositories/continent/continent_repository.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/continent/continent.dart';
26
import '../../../utils/result.dart';
37

compass_app/app/lib/data/repositories/continent/continent_repository_local.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/continent/continent.dart';
26
import '../../../utils/result.dart';
37
import '../../services/local/local_data_service.dart';

compass_app/app/lib/data/repositories/continent/continent_repository_remote.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/continent/continent.dart';
26
import '../../../utils/result.dart';
37
import '../../services/api/api_client.dart';

compass_app/app/lib/data/repositories/destination/destination_repository.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/destination/destination.dart';
26
import '../../../utils/result.dart';
37

compass_app/app/lib/data/repositories/destination/destination_repository_local.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/destination/destination.dart';
26
import '../../../utils/result.dart';
37
import '../../services/local/local_data_service.dart';

compass_app/app/lib/data/repositories/destination/destination_repository_remote.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/destination/destination.dart';
26
import '../../../utils/result.dart';
37
import '../../services/api/api_client.dart';

compass_app/app/lib/data/repositories/itinerary_config/itinerary_config_repository.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/itinerary_config/itinerary_config.dart';
26
import '../../../utils/result.dart';
37

compass_app/app/lib/data/repositories/itinerary_config/itinerary_config_repository_memory.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'dart:async';
26

37
import '../../../domain/models/itinerary_config/itinerary_config.dart';

compass_app/app/lib/data/repositories/user/user_repository.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/user/user.dart';
26
import '../../../utils/result.dart';
37

compass_app/app/lib/data/repositories/user/user_repository_local.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/user/user.dart';
26
import '../../../utils/result.dart';
37
import '../../services/local/local_data_service.dart';

compass_app/app/lib/data/repositories/user/user_repository_remote.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import '../../../domain/models/user/user.dart';
26
import '../../../utils/result.dart';
37
import '../../services/api/api_client.dart';

compass_app/app/lib/data/services/api/api_client.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'dart:convert';
26
import 'dart:io';
37

compass_app/app/lib/data/services/api/auth_api_client.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'dart:convert';
26
import 'dart:io';
37

compass_app/app/lib/data/services/api/model/booking/booking_api_model.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'booking_api_model.freezed.dart';

compass_app/app/lib/data/services/api/model/login_request/login_request.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'login_request.freezed.dart';

compass_app/app/lib/data/services/api/model/login_response/login_response.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'login_response.freezed.dart';

compass_app/app/lib/data/services/api/model/user/user_api_model.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'user_api_model.freezed.dart';

compass_app/app/lib/data/services/local/local_data_service.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'dart:convert';
26

37
import 'package:flutter/services.dart';

compass_app/app/lib/data/services/shared_preferences_service.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:logging/logging.dart';
26
import 'package:shared_preferences/shared_preferences.dart';
37

compass_app/app/lib/domain/models/activity/activity.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'activity.freezed.dart';

compass_app/app/lib/domain/models/booking/booking.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
import '../activity/activity.dart';

compass_app/app/lib/domain/models/booking/booking_summary.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'booking_summary.freezed.dart';

compass_app/app/lib/domain/models/continent/continent.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'continent.freezed.dart';

compass_app/app/lib/domain/models/destination/destination.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'destination.freezed.dart';

compass_app/app/lib/domain/models/itinerary_config/itinerary_config.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'itinerary_config.freezed.dart';

compass_app/app/lib/domain/models/user/user.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:freezed_annotation/freezed_annotation.dart';
26

37
part 'user.freezed.dart';

compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:logging/logging.dart';
26

37
import '../../../data/repositories/activity/activity_repository.dart';

compass_app/app/lib/domain/use_cases/booking/booking_share_use_case.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:flutter/material.dart';
26
import 'package:logging/logging.dart';
37
import 'package:share_plus/share_plus.dart';

compass_app/app/lib/main.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:flutter_localizations/flutter_localizations.dart';
26
import 'package:provider/provider.dart';
37

compass_app/app/lib/main_development.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:flutter/material.dart';
26
import 'package:logging/logging.dart';
37
import 'package:provider/provider.dart';

compass_app/app/lib/main_staging.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:flutter/material.dart';
26
import 'package:logging/logging.dart';
37
import 'package:provider/provider.dart';

compass_app/app/lib/routing/router.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:flutter/cupertino.dart';
26
import 'package:go_router/go_router.dart';
37
import 'package:provider/provider.dart';

compass_app/app/lib/routing/routes.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
class Routes {
26
static const home = '/';
37
static const login = '/login';

compass_app/app/lib/utils/command.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'dart:async';
26

37
import 'package:flutter/foundation.dart';

compass_app/app/lib/utils/image_error_listener.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
import 'package:logging/logging.dart';
26

37
final _log = Logger('ImageErrorListener');

compass_app/app/lib/utils/result.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2024 The Flutter team. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
15
/// Utility class to wrap result data
26
///
37
/// Evaluate the result using a switch statement:

0 commit comments

Comments
 (0)