logPeoplesString property

String? logPeoplesString

Implementation

String? get logPeoplesString {
  String _logPeopleString = "";
  if (this[logApierKey] != null && this[logApierKey].isNotEmpty) {
    Map<String, dynamic> peopleJson = this[logApierKey];
    String uname = peopleJson["name"] ?? "";
    _logPeopleString += "-> $uname";
  }

  if (this[logApperKey] != null && this[logApperKey].isNotEmpty) {
    Map<String, dynamic> peopleJson = this[logApperKey];
    String uname = peopleJson["name"] ?? "";
    _logPeopleString += "-> $uname";
  }

  if (_logPeopleString.isEmpty) {
    return null;
  }
  return _logPeopleString;
}