PnPushParams.fromJson constructor

PnPushParams.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory PnPushParams.fromJson(Map<String, dynamic> data) {
  return PnPushParams(
    pnProvider: data['pnProvider'],
    pnPrid: data['pnPrid'],
    pnParam: data['pnParam'],
    fcmToken: data['fcmToken'],
  );
}