fix linter rules and format files

This commit is contained in:
Fabian Freund
2025-02-18 16:06:49 +01:00
parent ec175514e6
commit 15dfcc1a4f
39 changed files with 77 additions and 64 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
extension NullableX<T> on T? {
@pragma('vm:prefer-inline')
R? mapNotNull<R>(R? Function(T) callback) {
// ignore: null_check_on_nullable_type_parameter
// ignore: null_check_on_nullable_type_parameter validated
return (this != null) ? callback(this!) : null;
}
}