sanitize method

String sanitize(
  1. String profileName,
  2. String link
)

Implementation

String sanitize(
  String profileName,
  String link,
) {
  var trimmed = trim(link);
  var profileId = getProfileId(profileName, trimmed);
  return getLink(profileName, profileId);
}