wampFileSourceFromPath function

Future<WampFileSource> wampFileSourceFromPath(
  1. String path, {
  2. String? name,
  3. String? contentType,
  4. String? sha256Digest,
  5. Map<String, dynamic>? custom,
})

Local path sources are only available on Dart IO platforms.

Implementation

Future<WampFileSource> wampFileSourceFromPath(
  String path, {
  String? name,
  String? contentType,
  String? sha256Digest,
  Map<String, dynamic>? custom,
}) {
  throw UnsupportedError('Local file paths are unavailable on this platform');
}