I have created a file object and passing to a method but it gives me this error -
this.file = File.fromPath(filePath);
This is how, I pa