VlcPlayerError class
Structured player error information.
Native platform failures are converted to this type before being surfaced
through VlcPlayerException or VlcPlayerValue.error.
- Annotations
Constructors
- VlcPlayerError({required String code, String? message, Object? details})
-
Creates a player error with a stable
code.const -
VlcPlayerError.fromMap(Map<
Object?, Object?> map) -
Creates a player error from a native platform map.
factory
- VlcPlayerError.fromPlatformException(PlatformException error)
-
Creates a player error from a PlatformException.
factory
Properties
- code → String
-
Stable machine-readable error code.
final
- description → String
-
User-facing description, falling back to code when message is absent.
no setter
- details → Object?
-
Additional platform-specific error details.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- message → String?
-
Human-readable error message when provided by the native backend.
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
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override