uploadFileToIPFS method
Implementation
@override
Future<String?> uploadFileToIPFS({required String filePath}) async {
final cid = await methodChannel.invokeMethod<String?>(
'uploadFileToIPFS',
filePath,
);
return cid;
}
@override
Future<String?> uploadFileToIPFS({required String filePath}) async {
final cid = await methodChannel.invokeMethod<String?>(
'uploadFileToIPFS',
filePath,
);
return cid;
}