Details.fromJson constructor

Details.fromJson(
  1. dynamic json
)

Implementation

factory Details.fromJson(dynamic json) {
  assert(json is Map);
  return Details(json["link"], json["message"]);
}