History.fromJson constructor

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

Implementation

factory History.fromJson(Map<String, dynamic> json) => History(
      url: json['url'],
      title: json['title'],
      visitTime: DateTime.parse(json['visit_time']),
    );