replaceWord static method

Future<bool?> replaceWord(
  1. String ftlDir,
  2. String ftlName,
  3. String docPath
)

Implementation

static Future<bool?> replaceWord(String ftlDir, String ftlName, String docPath) async {
  if(kIsWeb || !Platform.isAndroid) {
    return null;
  }
  final res = await _channel.invokeMethod('replaceWord',{'ftlDir':ftlDir, 'ftlName': ftlName, 'docPath': docPath});
  return res ?? false;
}