Skip to content

Commit

Permalink
ignore lints
Browse files Browse the repository at this point in the history
  • Loading branch information
kenzieschmoll committed Nov 7, 2023
1 parent 8e742f6 commit 9ac9838
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,8 @@ class NavigationInfo {
final Map<String, dynamic>? _route;

String? get routeDescription =>
// ignore: unnecessary_non_null_assertion, causing error on bots, but not
// locally. Need to investigate.
_route == null ? null : _route!['description'];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class FakeVmServiceWrapper extends Fake implements VmServiceWrapper {
allocationSamples = allocationSamples ?? _defaultProfile {
_reverseResolvedUriMap = <String, String>{};
if (_resolvedUriMap != null) {
// ignore: unnecessary_non_null_assertion, causing error on bots, but not
// locally. Need to investigate.
for (var e in _resolvedUriMap!.entries) {
_reverseResolvedUriMap![e.value] = e.key;
}
Expand Down Expand Up @@ -127,6 +129,8 @@ class FakeVmServiceWrapper extends Fake implements VmServiceWrapper {
return Future.value(
UriList(
uris: _resolvedUriMap != null
// ignore: unnecessary_non_null_assertion, causing error on bots,
// but not locally. Need to investigate.
? (uris.map((e) => _resolvedUriMap![e]).toList())
: null,
),
Expand All @@ -141,6 +145,8 @@ class FakeVmServiceWrapper extends Fake implements VmServiceWrapper {
}) {
return Future.value(
UriList(
// ignore: unnecessary_non_null_assertion, causing error on bots, but
// not locally. Need to investigate.
uris: _reverseResolvedUriMap != null
? (uris.map((e) => _reverseResolvedUriMap![e]).toList())
: null,
Expand Down Expand Up @@ -274,6 +280,8 @@ class FakeVmServiceWrapper extends Fake implements VmServiceWrapper {
throw StateError('_memoryData was not provided to FakeServiceManager');
}

// ignore: unnecessary_non_null_assertion, causing error on bots, but not
// locally. Need to investigate.
final heapSample = _memoryData!.data.first;
return Future.value(
MemoryUsage(
Expand Down

0 comments on commit 9ac9838

Please sign in to comment.