convertGroupCustomInfoFromDartToWeb static method

List convertGroupCustomInfoFromDartToWeb(
  1. Map<String, dynamic> customInfo
)

Implementation

static List convertGroupCustomInfoFromDartToWeb(
    Map<String, dynamic> customInfo) {
  final formatedCustomInfo = customInfo.keys
      .map((e) => mapToJSObj({"key": e, "value": customInfo[e]}));
  return formatedCustomInfo.toList();
}