Map<String, dynamic> toMap() { return AppConfigMapper.ensureInitialized() .encodeMap<AppConfig>(this as AppConfig); }