firstLetterUpperKeyObject static method

List<Map<String, dynamic>> firstLetterUpperKeyObject(
  1. List<Map<String, dynamic>> lm,
  2. String k
)

Implementation

static List<Map<String, dynamic>> firstLetterUpperKeyObject(
    List<Map<String, dynamic>> lm, String k) {
  for (var i in lm) {
    i['$k'] = upperFirstLetter(i['$k']);
  }
  return lm;
}