internal_models/call_logs_model library

Classes

CallLog
This class holds information about a specific call event, including details about the call mode, state, timing, participants, and other relevant attributes.
CallLogModel
Represents the model for call logs, including a list of CallLog and total pages.

Functions

callLogListFromJson(String str) CallLogModel
Parses a JSON string into a CallLogModel.
callLogListToJson(CallLogModel data) String
Converts a CallLogModel to a JSON string.
convertCallLogsToJson(String? str) String
Converts a nullable JSON string to a JSON string representation of a CallLogModel, or returns an empty string if null or empty.
getCallState({required String stateValue}) int
Determines the call state from a string value.