From 81e14b4f82d082ced3fdbf8176f24bf38627c348 Mon Sep 17 00:00:00 2001 From: vatsal tanna Date: Wed, 22 Nov 2023 22:56:21 +0530 Subject: [PATCH] Fix Disposable is not a mixin class --- modular_core/lib/src/module/disposable.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_core/lib/src/module/disposable.dart b/modular_core/lib/src/module/disposable.dart index 2b02d3d2..149cc685 100644 --- a/modular_core/lib/src/module/disposable.dart +++ b/modular_core/lib/src/module/disposable.dart @@ -3,7 +3,7 @@ part of '../../modular_core.dart'; /// A class which implements [Disposable] can be disposed automatically /// once user leaves a Module //ignore:one_member_abstracts -abstract class Disposable { +mixin abstract class Disposable { /// Disposes controllers, streams, etc. void dispose(); }