snapshotPath function
The independent frozen Dart file associated with a generated client.
Implementation
String snapshotPath(String databasePath) {
if (databasePath.endsWith('.db.dart')) {
return '${databasePath.substring(0, databasePath.length - 8)}.snapshot.dart';
}
return '${p.withoutExtension(databasePath)}.snapshot.dart';
}