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