toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = <String, dynamic>{};
  data['device_id'] = device_id;
  data['session_id'] = session_id;
  data['expires_ts'] = expires_ts;
  data['feeds'] = feeds.map((feed) => feed.toJson()).toList();
  return data;
}