getNonEmptyUris method

List<String> getNonEmptyUris()

get the non empty list of string

Implementation

List<String> getNonEmptyUris() {
  var list = List<String>.empty(growable: true);
  if (uris == null || uris!.isEmpty) {
    return list;
  }

  for (var uriItem in uris!) {
    if (uriItem.isNotEmpty) {
      list.add(uriItem);
    }
  }
  return list;
}