DefaultPushNotificationModule constructor

const DefaultPushNotificationModule({
  1. required Future<bool> sendDevicePushToken(
    1. BuildContext context,
    2. Object user,
    3. String token
    ),
  2. dynamic pushMessageBodyConverter(
    1. String? type,
    2. String? body
    ) = defaultPushMessageBodyConverter,
})

Implementation

const DefaultPushNotificationModule({
  required this.sendDevicePushToken,
  this.pushMessageBodyConverter = defaultPushMessageBodyConverter,
});