Response.fromJson constructor

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

Implementation

factory Response.fromJson(Map<String, dynamic> json) {
  return Response(
    fact: json['fact'],
    length: json['length'],
  );
}