toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'recipient': recipient,
    'userId': userId,
    'nativePush': nativePush,
    'body': body,
    'notification': notification,
    'envelopeType': envelopeType
  };
}