staticEnsureInitialized static method

void staticEnsureInitialized({
  1. String? libmpv,
})

Implementation

static void staticEnsureInitialized({
  String? libmpv,
}) {
  try {
    MediaKit.ensureInitialized(
      libmpv: libmpv,
    );
  } catch (e) {
    if (Dart.executable_type == ExecutableType.gui) {
    } else {
      rethrow;
    }
  }
}