discontinuedPackage dart_firebase_admin has been discontinued and replaced by firebase_admin_sdk.

ApnsPayload constructor

ApnsPayload({
  1. required Aps aps,
  2. Map<String, String>? customData,
})

Represents the payload of an APNs message. Mainly consists of the aps dictionary.

Implementation

ApnsPayload({required this.aps, this.customData});