Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix analyzer errors
  • Loading branch information
Chris Yang committed May 4, 2021
commit a697f099a8c4d009778f118cff7f066b65c9b281
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
// found in the LICENSE file.

import 'package:in_app_purchase_platform_interface/in_app_purchase_platform_interface.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';

// ignore: avoid_classes_with_only_static_members
/// The interface that platform implementations must implement when they want to
/// provide platform-specific in_app_purchase features.
///
Expand Down Expand Up @@ -57,7 +57,7 @@ abstract class InAppPurchasePlatformAddition {
///
/// The `instance` must not be a type of [InAppPurchasePlatform].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/must/should/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

static set instance(InAppPurchasePlatformAddition? instance) {
assert(!(instance is InAppPurchasePlatform));
assert(instance is! InAppPurchasePlatform);
_instance = instance;
}
}