callLogListFromJson function

CallLogModel callLogListFromJson(
  1. String str
)

Converts a JSON string into a CallLogModel object.

This function decodes the given JSON string and uses the fromJson constructor of the CallLogModel class to create an instance.

Parameters: str - A JSON string representation of a CallLogModel object.

Returns: An instance of CallLogModel populated with data from the given JSON string.

Implementation

CallLogModel callLogListFromJson(String str) =>
    CallLogModel.fromJson(json.decode(str));