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