VideoPlayerValue.erroneous constructor

VideoPlayerValue.erroneous(
  1. String errorDescription
)

Returns an instance with the given errorDescription.

Implementation

VideoPlayerValue.erroneous(String errorDescription) : this(duration: Duration.zero, isInitialized: false, errorDescription: errorDescription);