VideoPlayerValue.erroneous constructor

const VideoPlayerValue.erroneous(
  1. String errorDescription
)

Returns an instance with the given errorDescription.

Implementation

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