getNameFromId method

String getNameFromId(
  1. String clientId
)

Implementation

String getNameFromId(String clientId) {
  var name = "";
  try {
    if (fullList != null) {
      for (var item in fullList) {
        if (item.clientId == clientId) {
          name = item.name;
          break;
        }
      }
    }
  } on Exception catch (_, exe) {}
  return name;
}