toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'cta': cta,
    'title': title,
    'message': message,
    'icon': icon,
    'url': url,
    'sid': sid,
    'app': app,
    'image': image,
    'blockchain': blockchain,
    'secret': secret,
    'notification': notification.toJson(),
  };
}