VlcPlayerValue.erroneous constructor
VlcPlayerValue.erroneous(
- String? errorDescription
Returns an instance with the playing state error
and the given errorDescription
.
Implementation
factory VlcPlayerValue.erroneous(String? errorDescription) {
return VlcPlayerValue(
duration: Duration.zero,
playingState: PlayingState.error,
isInitialized: false,
errorDescription: errorDescription ?? VlcPlayerValue.unknownError,
);
}