setVariableEntity method

String setVariableEntity(
  1. Map map,
  2. TypeMapper typeMapper
)

Implementation

String setVariableEntity(Map map, TypeMapper typeMapper) {
  final variable = map.keys;
  return '${variable.map((e) => '${e.toString().camelCase}: ${setValueVariableMapper(e, map[e], typeMapper)}').join(',\n')}${variable.isNotEmpty ? ',' : ''}';
}