File tree Expand file tree Collapse file tree
firebase_ai/firebase_ai/lib/src
firebase_app_check/firebase_app_check/lib/src
firebase_core/firebase_core/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,11 @@ class FirebaseAI extends FirebasePluginPlatform {
6262 /// If pass in [appCheck] , request session will get protected from abusing.
6363 static FirebaseAI vertexAI ({
6464 FirebaseApp ? app,
65+ @Deprecated (
66+ 'Passing an explicit instance is deprecated, internal handling is now automatic.' )
6567 FirebaseAppCheck ? appCheck,
68+ @Deprecated (
69+ 'Passing an explicit instance is deprecated, internal handling is now automatic.' )
6670 FirebaseAuth ? auth,
6771 String ? location,
6872 bool ? useLimitedUseAppCheckTokens,
@@ -97,7 +101,11 @@ class FirebaseAI extends FirebasePluginPlatform {
97101 /// If pass in [appCheck] , request session will get protected from abusing.
98102 static FirebaseAI googleAI ({
99103 FirebaseApp ? app,
104+ @Deprecated (
105+ 'Passing an explicit instance is deprecated, internal handling is now automatic.' )
100106 FirebaseAppCheck ? appCheck,
107+ @Deprecated (
108+ 'Passing an explicit instance is deprecated, internal handling is now automatic.' )
101109 FirebaseAuth ? auth,
102110 bool ? useLimitedUseAppCheckTokens,
103111 }) {
Original file line number Diff line number Diff line change 55
66part of '../firebase_app_check.dart' ;
77
8- class FirebaseAppCheck extends FirebasePluginPlatform implements FirebaseService {
8+ class FirebaseAppCheck extends FirebasePluginPlatform
9+ implements FirebaseService {
910 static Map <String , FirebaseAppCheck > _firebaseAppCheckInstances = {};
1011
1112 FirebaseAppCheck ._({required this .app})
Original file line number Diff line number Diff line change @@ -67,10 +67,10 @@ void main() {
6767
6868 test ('.registerService() and .getService()' , () {
6969 FirebaseApp app = Firebase .app (testAppName);
70-
70+
7171 final testService = TestService ();
7272 app.registerService <TestService >(testService);
73-
73+
7474 expect (app.getService <TestService >(), testService);
7575 });
7676 });
You can’t perform that action at this time.
0 commit comments