fix linter rules and format files
This commit is contained in:
1 parent
ec175514e6
commit
15dfcc1a4f
39 files changed
+77
-64
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user