XCameraException class

Throws when a XCameraController call fails on the platform side. Maps from native FlutterError codes; see the table in ~/banlu/plans/ux_camera.md §error-model for the full set.

Implemented types

Constructors

XCameraException(String code, [String? description])
Binds the native error code and its optional message.
const

Properties

code → String
Stable identifier of the failure, e.g. disposed.
final
description → String?
Human-readable detail, where the native side supplied one.
final
hashCode → int
The hash code for this object.
no setterinherited
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
toString() → String
A string representation of this object.
override

Operators

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