File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
packages/firebase_ai/firebase_ai/lib Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,6 @@ export 'src/api.dart'
3434 ResponseModalities,
3535 SafetyRating,
3636 SafetySetting,
37- UsageMetadata;
38- export 'src/image_config.dart'
39- show
40- ImageConfig,
41- ImageAspectRatio,
42- ImageSize;
4337 UsageMetadata,
4438 WebGroundingChunk;
4539export 'src/base_model.dart'
Original file line number Diff line number Diff line change @@ -1143,8 +1143,6 @@ class ThinkingConfig {
11431143 };
11441144}
11451145
1146-
1147-
11481146/// Configuration options for model generation and outputs.
11491147abstract class BaseGenerationConfig {
11501148 // ignore: public_member_api_docs
Original file line number Diff line number Diff line change @@ -80,6 +80,9 @@ enum ImageAspectRatio {
8080
8181 /// Convert to json format.
8282 String toJson () => _jsonString;
83+
84+ @override
85+ String toString () => name;
8386}
8487
8588/// The size of images to generate.
@@ -101,4 +104,7 @@ enum ImageSize {
101104
102105 /// Convert to json format.
103106 String toJson () => _jsonString;
107+
108+ @override
109+ String toString () => name;
104110}
You can’t perform that action at this time.
0 commit comments