isAttached method

Future<bool> isAttached()

Returns true if a MediaStream is currently attached to the VideoView.

Implementation

Future<bool> isAttached() async {
  final state = _state;
  if (state != null) {
    return state._isAttached();
  }
  developer.log(
      "VideoViewController.isAttached(): The VideoView has not been instantiated yet.");
  return Future.value(false);
}