file method
Turns an export-relative path — ExportedShot.image — into a file.
Implementation
File file(String exportRelative) => File(
'$directory${Platform.pathSeparator}'
'${exportRelative.replaceAll('/', Platform.pathSeparator)}',
);
Turns an export-relative path — ExportedShot.image — into a file.
File file(String exportRelative) => File(
'$directory${Platform.pathSeparator}'
'${exportRelative.replaceAll('/', Platform.pathSeparator)}',
);