From f9100eb9baceeb09fe36e8c1979584f91107ff9c Mon Sep 17 00:00:00 2001 From: Sergey Penkovsky Date: Thu, 29 Jan 2026 23:04:22 +0300 Subject: [PATCH] style: remove unnecessary 'this.' qualifiers in binding.dart - Remove unnecessary 'this.' qualifiers from deprecated methods - Fix linter warnings (unnecessary_this) --- cherrypick/lib/src/binding.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cherrypick/lib/src/binding.dart b/cherrypick/lib/src/binding.dart index 1933a65..502f8d3 100644 --- a/cherrypick/lib/src/binding.dart +++ b/cherrypick/lib/src/binding.dart @@ -223,17 +223,17 @@ class Binding { @Deprecated('Use toInstance instead of toInstanceAsync') Binding toInstanceAsync(Instance value) { - return this.toInstance(value); + return toInstance(value); } @Deprecated('Use toProvide instead of toProvideAsync') Binding toProvideAsync(Provider value) { - return this.toProvide(value); + return toProvide(value); } @Deprecated('Use toProvideWithParams instead of toProvideAsyncWithParams') Binding toProvideAsyncWithParams(ProviderWithParams value) { - return this.toProvideWithParams(value); + return toProvideWithParams(value); } /// Marks this binding as singleton (will only create and cache one instance per scope).