From 80b1ef1e89d2280064401b10bdb21e727184a7fe Mon Sep 17 00:00:00 2001 From: Elijah Quartey Date: Thu, 8 Aug 2024 09:31:31 -0500 Subject: [PATCH] comment & formatting --- packages/amplify_datastore/lib/amplify_datastore.dart | 6 +++--- packages/amplify_datastore/pigeons/native_plugin.dart | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/amplify_datastore/lib/amplify_datastore.dart b/packages/amplify_datastore/lib/amplify_datastore.dart index 4ffd264e926..3e4fc8ec4bf 100644 --- a/packages/amplify_datastore/lib/amplify_datastore.dart +++ b/packages/amplify_datastore/lib/amplify_datastore.dart @@ -376,9 +376,9 @@ class NativeAmplifyApi } } - - // Amplify.DataStore.Stop() callback - // Clean up subscriptions on stop. + /// Amplify.DataStore.Stop() callback + /// + /// Clean up subscriptions on stop. @override Future onStop() async { _subscriptionsCache.forEach((subId, _) async { diff --git a/packages/amplify_datastore/pigeons/native_plugin.dart b/packages/amplify_datastore/pigeons/native_plugin.dart index fc7b93ab5e3..8c49e0d3cb5 100644 --- a/packages/amplify_datastore/pigeons/native_plugin.dart +++ b/packages/amplify_datastore/pigeons/native_plugin.dart @@ -42,7 +42,6 @@ abstract class NativeApiPlugin { @async void unsubscribe(String subscriptionId); - @async void onStop(); }