menu
gemini_ai_chat package
documentation
safety_regulations/gemini_ai_safety_settings.dart
SafetySettings
toJson method
toJson method
dark_mode
light_mode
toJson
method
Map
<
String
,
dynamic
>
toJson
(
)
Implementation
Map<String, dynamic> toJson() { return {'category': category.name, 'threshold': threshold.name}; }
gemini_ai_chat package
documentation
safety_regulations/gemini_ai_safety_settings
SafetySettings
toJson method
SafetySettings class