CachedResponse.fromJson constructor

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

Implementation

factory CachedResponse.fromJson(Map<String, dynamic> json) {
  return CachedResponse(
    body: json['body'] as String,
  );
}