Enable no_leading_underscores_for_local_identifiers (#96422)
This commit is contained in:
committed by
GitHub
parent
53ca7f684a
commit
5684b9f69e
@@ -152,11 +152,11 @@ class PathUrlStrategy extends HashUrlStrategy {
|
||||
/// The [PlatformLocation] parameter is useful for testing to mock out browser
|
||||
/// interactions.
|
||||
PathUrlStrategy([
|
||||
PlatformLocation _platformLocation = const BrowserPlatformLocation(),
|
||||
PlatformLocation platformLocation = const BrowserPlatformLocation(),
|
||||
]) : _basePath = stripTrailingSlash(extractPathname(checkBaseHref(
|
||||
_platformLocation.getBaseHref(),
|
||||
platformLocation.getBaseHref(),
|
||||
))),
|
||||
super(_platformLocation);
|
||||
super(platformLocation);
|
||||
|
||||
final String _basePath;
|
||||
|
||||
|
||||
@@ -92,8 +92,8 @@ class PathUrlStrategy extends HashUrlStrategy {
|
||||
///
|
||||
/// The [PlatformLocation] parameter is useful for testing to mock out browser
|
||||
/// interations.
|
||||
PathUrlStrategy([PlatformLocation? _platformLocation])
|
||||
: super(_platformLocation);
|
||||
PathUrlStrategy([PlatformLocation? platformLocation])
|
||||
: super(platformLocation);
|
||||
|
||||
@override
|
||||
String getPath() => '';
|
||||
|
||||
Reference in New Issue
Block a user