convertirMapa method

Map<String, dynamic> convertirMapa(
  1. Map<Object?, Object?>? mapaOriginal
)

Implementation

Map<String, dynamic> convertirMapa(Map<Object?, Object?>? mapaOriginal) {
  Map<String, dynamic> nuevoMapa = {};

  mapaOriginal?.forEach((key, value) {
    nuevoMapa[key.toString()] = value;
  });

  return nuevoMapa;
}