CameraSettings class

A class containing all necessary settings to setup the camera.

Constructors

CameraSettings({String? license, String? userId, CameraConfiguration? configuration})
Creates a new instance of CameraSettings.
const
CameraSettings.fromJson(Map<String, dynamic> json)
Creates a new instance from a JSON map.
factory

Properties

configuration → CameraConfiguration?
Optional CameraConfiguration controlling how the camera captures media. When null, the native defaults apply (video, multi, 5s photo clips, mode switching allowed).
final
hashCode → int
The hash code for this object.
no setterinherited
license → String?
The license of the editor. Pass null to run the SDK in evaluation mode with a watermark.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userId → String?
Unique ID tied to your application's user. This helps us accurately calculate monthly active users (MAU).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this instance to a JSON map.
toString() → String
A string representation of this object.
inherited

Operators

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