PushNotification constructor

PushNotification(
  1. String? mechanismUID,
  2. String? messageId,
  3. String? challenge,
  4. String? amlbCookie,
  5. String? customPayload,
  6. String? message,
  7. String? contextInfo,
  8. String? numbersChallenge,
  9. int? timeAdded,
  10. int? timeExpired,
  11. int? ttl,
  12. bool? approved,
  13. bool? pending,
  14. PushType? pushType,
)

Creates the PushNotification object with given data.

Implementation

PushNotification(
    this.mechanismUID,
    this.messageId,
    this.challenge,
    this.amlbCookie,
    this.customPayload,
    this.message,
    this.contextInfo,
    this.numbersChallenge,
    this.timeAdded,
    this.timeExpired,
    this.ttl,
    this.approved,
    this.pending,
    this.pushType);