ImagenSafetySettings class final

A class representing safety settings for image generation.

It includes a safety filter level and a person filter level.

Annotations
  • @experimental

Constructors

ImagenSafetySettings.new(ImagenSafetyFilterLevel? safetyFilterLevel, ImagenPersonFilterLevel? personFilterLevel)

Properties

hashCode int
The hash code for this object.
no setterinherited
personFilterLevel ImagenPersonFilterLevel?
The person filter level
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
safetyFilterLevel ImagenSafetyFilterLevel?
The safety filter level
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited