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