PhoneCall class

Phone call data.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.none, includeIfNull: false)

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:
getter/setter pair
duration int?
Duration of call in ms.
getter/setter pair
formattedNumber String?
The formatted version of the phone number (if available).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the caller (if available).
getter/setter pair
number String?
The phone number
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime?
Date & Time of the call.
getter/setter pair

Methods

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

Operators

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