CreateApiCacheResponse.fromJson constructor

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

Implementation

factory CreateApiCacheResponse.fromJson(Map<String, dynamic> json) {
  return CreateApiCacheResponse(
    apiCache: json['apiCache'] != null
        ? ApiCache.fromJson(json['apiCache'] as Map<String, dynamic>)
        : null,
  );
}