list method

  1. @override
Future<List<SafDocumentFile>> list(
  1. String uri
)
override

Implementation

@override
Future<List<SafDocumentFile>> list(String uri) async {
  final maps = await methodChannel
      .invokeListMethod<Map<dynamic, dynamic>>('list', {'uri': uri});
  return (maps ?? []).map((map) => SafDocumentFile.fromMap(map)).toList();
}