static bool isValidPath(String path) { if (RegExp(r"^m/44'/637'/[0-9]+'/[0-9]+'/[0-9]+'+$").hasMatch(path)) { return true; } return false; }