Messaging constructor

Messaging(
  1. FirebaseAdminApp firebase, {
  2. @internal FirebaseMessagingRequestHandler? requestHandler,
})

An interface for interacting with the Firebase Cloud Messaging service.

Implementation

Messaging(
  this.firebase, {
  @internal FirebaseMessagingRequestHandler? requestHandler,
}) : _requestHandler =
          requestHandler ?? FirebaseMessagingRequestHandler(firebase);