validateTestFFIFile method

void validateTestFFIFile(
  1. String path
)

Implementation

void validateTestFFIFile(String path) {
  if (!File(path).existsSync()) {
    debugPrint('dynamic library not found: $path');
    throw Exception(
        '''In order to be able to run unit tests, you need to run the project first: "flutter run -d ${Platform.operatingSystem}"''');
  }
}