canHandle method

  1. @override
bool canHandle(
  1. Widget notification
)
override

Vérifie si cette notification peut être gérée par cet adaptateur.

Retourne true si la notification est de type SFNotification.

Implementation

@override
bool canHandle(Widget notification) {
  return notification is SFNotification;
}