cachedBridgePath function

String cachedBridgePath({
  1. Map<String, String>? env,
})

The downloaded bridge for this glint version, under ~/.glint/bin.

Implementation

String cachedBridgePath({Map<String, String>? env}) {
  final home = (env ?? Platform.environment)['HOME'] ?? '.';
  return '$home/.glint/bin/glint-iossim-$glintVersion';
}