runFile method
Implementation
@override
Future<String> runFile(String path) async {
final result = await methodChannel.invokeMethod<String>('runFile', {
'path': path,
});
if (result == null) {
throw PlatformException(
code: 'ruby_runtime_null_result',
message: 'Native runtime returned null for runFile().',
);
}
return result;
}