readTextFile function
Implementation
String readTextFile(
String filePath,
[
String baseFolderPath = ''
]
)
{
try
{
return File( getPhysicalFilePath( filePath, baseFolderPath ) ).readAsStringSync();
}
catch ( error )
{
print( error );
rethrow;
}
}