getFromRoot method

  1. @override
Future<Uint8List?> getFromRoot({
  1. required String fileName,
  2. String? folderPath,
})
override

Implementation

@override
Future<Uint8List?> getFromRoot({
  required String fileName,
  String? folderPath,
}) async {
  final Uint8List? result = await methodChannel.invokeMethod('getFromRoot', {
    'fileName': fileName,
    'folderPath': folderPath,
  });
  return result;
}