getInitialSharing method
Implementation
@override
Future<List<SharedFile>> getInitialSharing() async {
final json = await methodChannel.invokeMethod('getInitialSharing');
if (json == null) return [];
final encoded = jsonDecode(json);
return encoded
.map<SharedFile>((file) => SharedFile.fromJson(file))
.toList();
}