env function

String env(
  1. String key
)

origin: kt_ifm_gtid_mob/lib/global.dart union-of: stm_portal_mob/lib/global.dart author: anovsiradj, opencode-go/glm-5.2 version: 2025-03-03, revised: 2026-08-17

Strict env accessor. Throws if key missing. Call await dotenv.load(...) at bootstrap first.

Implementation

String env(String key) {
  return dotenv.env[key]!;
}