VideoPlayerValue.erroneous constructor

VideoPlayerValue.erroneous(
  1. String errorDescription
)

Returns an instance with the given errorDescription.

Implementation

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