Skip to content

Commit dea46c4

Browse files
chore: add license header for missing files (#9703)
* Run `addlicense -f header_template.txt .` * Revert "Run `addlicense -f header_template.txt .`" This reverts commit d32bcf4. * Run `addlicense -f header_template.txt --ignore "**/*.yml" --ignore "**/*.yaml" --ignore "**/*.xml" --ignore "**/*.g.dart" --ignore "**/*.sh" --ignore "**/*.html" --ignore "**/*.js" --ignore "**/*.ts" --ignore "**/*.g.h" --ignore "**/*.g.m" --ignore "**/*.rb" .` * Revert "Run `addlicense -f header_template.txt --ignore "**/*.yml" --ignore "**/*.yaml" --ignore "**/*.xml" --ignore "**/*.g.dart" --ignore "**/*.sh" --ignore "**/*.html" --ignore "**/*.js" --ignore "**/*.ts" --ignore "**/*.g.h" --ignore "**/*.g.m" --ignore "**/*.rb" .`" This reverts commit 886eec4. * Run `addlicense -f header_template.txt --ignore "**/*.yml" --ignore "**/*.yaml" --ignore "**/*.xml" --ignore "**/*.g.dart" --ignore "**/*.sh" --ignore "**/*.html" --ignore "**/*.js" --ignore "**/*.ts" --ignore "**/*.g.h" --ignore "**/*.g.m" --ignore "**/*.rb" --ignore "**/Runner/AppDelegate.swift" --ignore "**/Runner/MainFlutterWindow.swift" --ignore "**/Runner/Runner-Bridging-Header.h" --ignore "**/Runner/AppDelegate.h" --ignore "**/Runner/AppDelegate.m" --ignore "**/Runner/main.m" --ignore "**/MainActivity.kt" --ignore "**/MainActivity.java" --ignore "**/FlutterMultiDexApplication.java" --ignore **/GeneratedPluginRegistrant.swift .` * Format `hi.dart`
1 parent c995cad commit dea46c4

File tree

316 files changed

+1597
-263
lines changed

Some content is hidden

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

316 files changed

+1597
-263
lines changed

packages/_flutterfire_internals/lib/_flutterfire_internals.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: require_trailing_commas
26
// DO NOT MOVE THIS FILE
37
//

packages/_flutterfire_internals/lib/src/interop_shimmer.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// A library that mimicks package:firebase_core_web/firebase_core_web_interop.dart
26
// for platforms that do not target dart2js
37

packages/_flutterfire_internals/test/guard_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:_flutterfire_internals/_flutterfire_internals.dart';
26
import 'package:_flutterfire_internals/src/interop_shimmer.dart';
37
import 'package:flutter_test/flutter_test.dart';

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/DocumentSnapshotsStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import static io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.DEFAULT_ERROR_CODE;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/LoadBundleStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import static io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.DEFAULT_ERROR_CODE;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/OnTransactionResultListener.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import java.util.Map;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/QuerySnapshotsStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import static io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.DEFAULT_ERROR_CODE;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/SnapshotsInSyncStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import com.google.firebase.firestore.FirebaseFirestore;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/streamhandler/TransactionStreamHandler.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.streamhandler;
28

39
import android.os.Handler;

packages/cloud_firestore/cloud_firestore/android/src/main/java/io/flutter/plugins/firebase/firestore/utils/ExceptionConverter.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
package io.flutter.plugins.firebase.firestore.utils;
28

39
import android.util.Log;

packages/cloud_firestore/cloud_firestore/example/lib/firebase_config.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'dart:io';
26

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

packages/cloud_firestore/cloud_firestore/example/test_driver/firebase_config.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'dart:io';
26

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

packages/cloud_firestore/cloud_firestore/example/test_driver/firebase_options_secondary.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// File generated by FlutterFire CLI.
26
// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members
37
import 'package:firebase_core/firebase_core.dart' show FirebaseOptions;

packages/cloud_firestore/cloud_firestore/ios/Classes/FLTLoadBundleStreamHandler.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
//
26
// FLTLoadBundleStreamHandler.m
37
// cloud_firestore

packages/cloud_firestore/cloud_firestore/ios/Classes/Private/FLTLoadBundleStreamHandler.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
* Copyright 2022, the Chromium project authors. Please see the AUTHORS file
3+
* for details. All rights reserved. Use of this source code is governed by a
4+
* BSD-style license that can be found in the LICENSE file.
5+
*/
6+
17
//
28
// FLTLoadBundleStreamHandler.h
39
// Pods

packages/cloud_firestore/cloud_firestore/lib/src/load_bundle_task.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
part of cloud_firestore;
26

37
class LoadBundleTask {

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/method_channel/method_channel_load_bundle_task.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: require_trailing_commas
26
import 'dart:async';
37
// TODO(Lyokone): remove once we bump Flutter SDK min version to 3.3

packages/cloud_firestore/cloud_firestore_platform_interface/lib/src/platform_interface/utils/load_bundle_task_state.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: require_trailing_commas
26
import 'package:cloud_firestore_platform_interface/cloud_firestore_platform_interface.dart';
37

packages/cloud_firestore/cloud_firestore_platform_interface/test/method_channel_tests/method_channel_write_batch_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: require_trailing_commas
26
import 'package:flutter_test/flutter_test.dart';
37
import 'package:flutter/services.dart';

packages/cloud_firestore/cloud_firestore_platform_interface/test/method_channel_tests/utils_test/firestore_message_codec_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: require_trailing_commas
26
// import 'dart:async';
37
import 'dart:typed_data';

packages/cloud_firestore/cloud_firestore_web/lib/src/internals.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:firebase_core/firebase_core.dart';
26
import 'package:_flutterfire_internals/_flutterfire_internals.dart'
37
as internals;

packages/cloud_firestore/cloud_firestore_web/lib/src/load_bundle_task_web.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: require_trailing_commas
26
import 'dart:async';
37

packages/cloud_firestore_odm/cloud_firestore_odm/example/lib/integration.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore/cloud_firestore.dart';
26
import 'package:cloud_firestore_odm/cloud_firestore_odm.dart';
37
import 'package:json_annotation/json_annotation.dart';

packages/cloud_firestore_odm/cloud_firestore_odm/example/lib/integration/freezed.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: invalid_annotation_target
26

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

packages/cloud_firestore_odm/cloud_firestore_odm/example/lib/integration/freezed.freezed.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// coverage:ignore-file
26
// GENERATED CODE - DO NOT MODIFY BY HAND
37
// ignore_for_file: type=lint

packages/cloud_firestore_odm/cloud_firestore_odm/example/lib/integration/query.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore/cloud_firestore.dart';
26
import 'package:cloud_firestore_odm/cloud_firestore_odm.dart';
37
import 'package:json_annotation/json_annotation.dart';

packages/cloud_firestore_odm/cloud_firestore_odm/example/lib/movie.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore/cloud_firestore.dart';
26
import 'package:cloud_firestore_odm/cloud_firestore_odm.dart';
37
import 'package:json_annotation/json_annotation.dart';

packages/cloud_firestore_odm/cloud_firestore_odm/example/lib/movie_detail_screen.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore_odm/cloud_firestore_odm.dart';
26
import 'package:flutter/material.dart';
37

packages/cloud_firestore_odm/cloud_firestore_odm/example/lib/movie_item.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: avoid_print
26

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

packages/cloud_firestore_odm/cloud_firestore_odm/example/lib/movies_screen.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: library_private_types_in_public_api
26

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

packages/cloud_firestore_odm/cloud_firestore_odm/example/test_driver/freezed_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore_odm_example/integration/freezed.dart';
26
import 'package:flutter_test/flutter_test.dart';
37

packages/cloud_firestore_odm/cloud_firestore_odm/lib/annotation.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
export 'src/validator.dart' show Min, Validator, Max;
26

37
/// {@macro cloud_firestore_odm.named_query}

packages/cloud_firestore_odm/cloud_firestore_odm/lib/cloud_firestore_odm.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore/cloud_firestore.dart';
26
import 'package:json_annotation/json_annotation.dart';
37

packages/cloud_firestore_odm/cloud_firestore_odm/lib/src/firestore_builder.dart

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

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

packages/cloud_firestore_odm/cloud_firestore_odm/lib/src/firestore_reference.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore/cloud_firestore.dart';
26
import 'package:meta/meta.dart';
37
import 'firestore_builder.dart';

packages/cloud_firestore_odm/cloud_firestore_odm/lib/src/validator.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
/// A class used to assert that a value respects some rules.
26
///
37
/// As opposed to `assert`, this class works in release mode too.

packages/cloud_firestore_odm/cloud_firestore_odm/test/common.dart

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

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

packages/cloud_firestore_odm/cloud_firestore_odm/test/firestore_builder_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore_odm/cloud_firestore_odm.dart';
26
import 'package:flutter/material.dart';
37
import 'package:flutter_test/flutter_test.dart';

packages/cloud_firestore_odm/cloud_firestore_odm/test/id_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore_odm/cloud_firestore_odm.dart';
26
import 'package:flutter_test/flutter_test.dart';
37

packages/cloud_firestore_odm/cloud_firestore_odm_generator/cloud_firestore_odm_generator_integration_test/lib/freezed.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// ignore_for_file: invalid_annotation_target
26

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

packages/cloud_firestore_odm/cloud_firestore_odm_generator/cloud_firestore_odm_generator_integration_test/lib/freezed.freezed.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// coverage:ignore-file
26
// GENERATED CODE - DO NOT MODIFY BY HAND
37
// ignore_for_file: type=lint

packages/cloud_firestore_odm/cloud_firestore_odm_generator/cloud_firestore_odm_generator_integration_test/lib/model.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
// When separated accross multiple files, it is necessary to specify fromJson/toJson
26
// We voluntarily don't use JsonSerializable here, as it is not supported due to
37
// the generated FieldMap being private.

packages/cloud_firestore_odm/cloud_firestore_odm_generator/cloud_firestore_odm_generator_integration_test/lib/simple.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore/cloud_firestore.dart';
26
import 'package:cloud_firestore_odm/cloud_firestore_odm.dart';
37
import 'package:json_annotation/json_annotation.dart';

packages/cloud_firestore_odm/cloud_firestore_odm_generator/cloud_firestore_odm_generator_integration_test/test/collection_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:cloud_firestore_odm_generator_integration_test/simple.dart';
26
import 'package:flutter_test/flutter_test.dart';
37

packages/cloud_firestore_odm/cloud_firestore_odm_generator/cloud_firestore_odm_generator_integration_test/test/setup_firestore_mock.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:firebase_core/firebase_core.dart';
26
import 'package:firebase_core_platform_interface/firebase_core_platform_interface.dart';
37
import 'package:flutter_test/flutter_test.dart';

packages/cloud_firestore_odm/cloud_firestore_odm_generator/lib/cloud_firestore_odm_generator.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:build/build.dart';
26
import 'package:source_gen/source_gen.dart';
37

packages/cloud_firestore_odm/cloud_firestore_odm_generator/lib/src/collection_generator.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
15
import 'package:analyzer/dart/element/element.dart';
26
import 'package:analyzer/dart/element/type.dart';
37
import 'package:build/build.dart';

packages/cloud_firestore_odm/cloud_firestore_odm_generator/lib/src/parse_generator.dart

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

37
import 'package:analyzer/dart/element/element.dart';

0 commit comments

Comments
 (0)