CallLogModel class

Represents the model for call logs, including a list of CallLog and total pages.

Constructors

CallLogModel({List<CallLog>? data, int? totalPages})
Constructor for CallLogModel.
CallLogModel.fromJson(Map<String, dynamic> json)
Creates a CallLogModel instance from a JSON map.
factory

Properties

data List<CallLog>?
A list of CallLog objects representing individual call logs. This list may be null if no call logs are available.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalPages int?
An integer representing the total number of pages of call logs available. This may be null if the total number of pages is unknown.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a CallLogModel instance to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited