CallLog class

This class holds information about a specific call event, including details about the call mode, state, timing, participants, and other relevant attributes.

Constructors

CallLog({String? callMode, int? callState, int? callTime, String? callType, String? callerDevice, int? endTime, String? fromUser, String? groupId, List<String>? inviteUserList, bool? isCarbonAnswered, bool? isDeleted, bool? isDisplay, bool? isSync, String? roomId, int? rowId, String? sessionStatus, int? startTime, String? toUser, List<String>? userList, String? nickName})
Constructor for CallLog.
CallLog.fromJson(Map<String, dynamic> json)
Factory constructor that creates a CallLog instance from a JSON map.
factory

Properties

callerDevice String?
The device from which the call was made.
getter/setter pair
callMode String?
The mode of the call (e.g., voice, video).
getter/setter pair
callState int?
The state of the call (e.g., missed, outgoing, incoming).
getter/setter pair
callTime int?
The duration of the call in seconds.
getter/setter pair
callType String?
The type of the call (e.g., group, single).
getter/setter pair
endTime int?
The timestamp when the call ended.
getter/setter pair
fromUser String?
The identifier of the user who initiated the call.
getter/setter pair
groupId String?
The identifier of the group in which the call was made, if applicable.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inviteUserList List<String>?
A list of users invited to the call.
getter/setter pair
isCarbonAnswered bool?
Indicates whether the call was answered on another device.
getter/setter pair
isDeleted bool?
Indicates whether the call log has been deleted.
getter/setter pair
isDisplay bool?
Indicates whether the call log should be displayed.
getter/setter pair
isSync bool?
Indicates whether the call log has been synchronized.
getter/setter pair
nickName String?
The nickname of the user associated with the call log.
getter/setter pair
roomId String?
The identifier of the room associated with the call.
getter/setter pair
rowId int?
The database row identifier for the call log.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionStatus String?
The status of the call session (e.g., completed, failed).
getter/setter pair
startTime int?
The timestamp when the call started.
getter/setter pair
toUser String?
The identifier of the user on the receiving end of the call.
getter/setter pair
userList List<String>?
A list of users involved in the call.
getter/setter pair

Methods

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

Operators

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