CameraConfiguration class
Configuration options that control how the camera captures media.
Constructors
- CameraConfiguration({CaptureType captureType = CaptureType.video, CaptureCount captureCount = CaptureCount.multi, double photoClipDuration = 5.0})
-
Creates a new instance of CameraConfiguration.
const
-
CameraConfiguration.fromJson(Map<
String, dynamic> json) -
Creates a new instance from a JSON map.
factory
Properties
- captureCount → CaptureCount
-
How many captures the camera session produces.
final
- captureType → CaptureType
-
The kind of media the camera captures.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- photoClipDuration → double
-
The duration in seconds stamped on each captured photo.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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