Skip to content

PhoneLog

The phone log, i.e. the list of phone calls made on the device in a period.

Collected by PhoneLogProbe for the CommunicationSamplingPackage.PHONE_LOG measure.

Inheritance
Annotations

Constructors

PhoneLog.fromJson

PhoneLog.fromJson(
  1. Map<String, dynamic> json
)

PhoneLog

PhoneLog(
  1. DateTime start,
  2. DateTime end, [
  3. List<PhoneCall> phoneLog = const []
])

Properties

end

DateTime end
getter/setter pair

The start and end (UTC) of the period this log covers.

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

phoneLog

List<PhoneCall> phoneLog
getter/setter pair

The phone calls in the period.

start

DateTime start
getter/setter pair

The start and end (UTC) of the period this log covers.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.