tokenizacion method
Implementation
Map<String, dynamic> tokenizacion(String campo, Map<String, dynamic> data) {
List<String> camposClave = List<String>.from(data['camposClave']);
return {
"from": data[CamposPropiedadEsquema.campoColeccion.name],
"localField": "data.$campo",
"foreignField": "_id",
"as": "$campo${EnvironmentApiRest.dynamicValue}",
"project": [...camposClave]
};
}