CallLogModel class
Represents the model for call log data.
This class holds the data for call logs, including a list of CallLogData and the total number of pages.
Constructors
-
CallLogModel({List<
CallLogData> ? data, int? totalPages}) - Constructs a CallLogModel instance.
-
CallLogModel.fromJson(Map<
String, dynamic> json) -
Converts a JSON object into a CallLogModel instance.
factory
Properties
-
data
↔ List<
CallLogData> ? -
A list of CallLogData objects representing individual call logs.
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?
-
The total number of pages of call log data available.
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 into a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited