FeedEntryModel.fromJson constructor

FeedEntryModel.fromJson(
  1. Map<String, dynamic> json
)

Implementation

FeedEntryModel.fromJson(Map<String, dynamic> json)
    : title = json['title'],
      body = json['body'],
      source = json['source'],
      subtitle = json['subtitle'],
      dateTime = DateTime.fromMillisecondsSinceEpoch(json['dateTime']);