bool has(String name) { if (kIsWeb) { return hasForWeb(name) != null; } else { return hasForApp(name) != null; } }