FeedResponse.fromJson constructor
FeedResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory FeedResponse.fromJson(Map<String, dynamic> json) {
return FeedResponse(
cta: json['cta'] as String,
title: json['title'] as String,
message: json['message'] as String,
icon: json['icon'] as String,
url: json['url'] as String,
sid: json['sid'] as String,
app: json['app'] as String,
image: json['image'] as String,
blockchain: json['blockchain'] as String,
secret: json['secret'] as String,
notification:
Notification.fromJson(json['notification'] as Map<String, dynamic>),
);
}