enableFCM method

void enableFCM(
  1. String appId
)

Enable Firebase Cloud Messaging (FCM) push on devices that support Google Play.

Param appId The app ID for FCM push.

Implementation

void enableFCM(String appId) {
  _pushConfig.enableFCM = true;
  _pushConfig.fcmId = appId;
}