base_name property

String? get base_name

Implementation

String? get base_name {
  // List<String> pathSegments = [...url.pathSegments];
  return url.pathSegments.firstOrNull;
}