CallLogModel.fromJson constructor

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

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"],
);