convertCustomInfoFromDartToWeb static method

dynamic convertCustomInfoFromDartToWeb(
  1. Map<String, dynamic> customInfo
)

Implementation

static dynamic convertCustomInfoFromDartToWeb(
    Map<String, dynamic> customInfo) {
  final profileCustomInfo = customInfo.keys.map((k) =>
      mapToJSObj({'key': 'Tag_Profile_Custom_$k', 'value': customInfo[k]}));

  return profileCustomInfo.toList();
}