assertHasPdfSupport function

Future<void> assertHasPdfSupport()

Implementation

Future<void> assertHasPdfSupport() async {
  if (!await hasPdfSupport()) throw PlatformNotSupportedException();
}