callLogListFromJson function
Parses a JSON string into a CallLogModel.
This function decodes a JSON string to a Map, and then creates a CallLogModel
object from it using the fromJson
factory constructor.
str
: The JSON string to be parsed.
Returns a CallLogModel object.
Implementation
CallLogModel callLogListFromJson(String str) =>
CallLogModel.fromJson(json.decode(str));