PhoneCall
A phone call, as listed in a PhoneLog.
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
PhoneCall.fromCallLogEntry
- CallLogEntry call
Creates a PhoneCall from a CallLogEntry from the call log plugin.
PhoneCall.fromJson
PhoneCall
Properties
callType
getter/setter pair
Type of call. One of:
- answered_externally
- incoming
- blocked
- missed
- outgoing
- rejected
- voice_mail
- unknown
duration
getter/setter pair
Duration of the call in seconds, as reported by the Android call log.
formattedNumber
getter/setter pair
The formatted version of the phone number (if available).
name
getter/setter pair
The name of the caller (if available).
number
getter/setter pair
The phone number.
timestamp
getter/setter pair
Date and time of the call.