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