PhoneCall class Null safety

Phone call data.

Annotations

Constructors

PhoneCall([DateTime? timestamp, String? callType, int? duration, String? formattedNumber, String? number, String? name])
PhoneCall.fromCallLogEntry(CallLogEntry call)
factory
PhoneCall.fromJson(Map<String, dynamic> json)
factory

Properties

callType String?
Type of call: [...]
read / write
duration int?
Duration of call in ms.
read / write
formattedNumber String?
The formatted version of the phone number (if available).
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String?
The name of the caller (if available).
read / write
number String?
The phone number
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timestamp DateTime?
Date & Time of the call.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

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