convertGroupCustomInfoFromWebToDart static method

Map convertGroupCustomInfoFromWebToDart(
  1. List customInfo
)

Implementation

static Map<dynamic, dynamic> convertGroupCustomInfoFromWebToDart(
    List customInfo) {
  final formatedCustomInfo = {};
  for (var element in customInfo) {
    final formatedElement = jsToMap(element);
    formatedCustomInfo[formatedElement['key']] = formatedElement['value'];
  }
  return formatedCustomInfo;
}