CallLogModel.fromJson constructor
Converts a JSON object into a CallLogModel instance.
Implementation
factory CallLogModel.fromJson(Map<String, dynamic> json) => CallLogModel(
data: json["data"] == null
? []
: List<CallLogData>.from(
json["data"]!.map((x) => CallLogData.fromJson(x))),
totalPages: json["total_pages"],
);