NotificationProvider class

A notification provider represents a notification service installed in the Medusa backend, either through a plugin or backend customizations. It holds the notification service's installation status.

Annotations
  • @JsonSerializable()

Constructors

NotificationProvider({required String id, required bool isInstalled})
NotificationProvider.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the notification provider as given by the notification service.
getter/setter pair
isInstalled bool
Whether the notification service is installed in the current version. If a notification service is no longer installed, the isInstalled attribute is set to false.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited