saveFontToDeviceFileSystem function

Future<void> saveFontToDeviceFileSystem(
  1. String name,
  2. List<int> bytes, {
  3. String? ext,
})

By default, file IO is stubbed out.

If the path provider library is available (on mobile or desktop), then the implementation in file_io_desktop_and_mobile.dart is used. Stubbed out version of saveFontToDeviceFileSystem from file_io_desktop_and_mobile.dart.

Implementation

/// Stubbed out version of saveFontToDeviceFileSystem from
/// `file_io_desktop_and_mobile.dart`.
Future<void> saveFontToDeviceFileSystem(String name, List<int> bytes,
        {String? ext}) async =>
    throw Exception("Not supported platform");