ContactEvent class

This class models a reference to a contact’s event.

Implemented types
Annotations

Constructors

ContactEvent({required DateTime date, required String title})
A reference to a contact’s event.
const
ContactEvent.fromMap(Map<String, dynamic> map)
Creates a ContactEvent instance starting from a Map<String, dynamic> map, parsing DateTime from a ISO 8601 format string.

Properties

date DateTime
The date of this event.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
The title of this event.
final

Methods

compareTo(covariant ContactEvent other) int
The order of the comparisons is:
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Creates a Map<String, dynamic> map representation of this instance. It uses ISO 8601 format in order to get the String corresponding to date.
toString() String
A string representation of this object.
inherited

Operators

operator <(covariant ContactEvent other) bool
Returns if this instance is less than the other.
operator <=(covariant ContactEvent other) bool
Return if this instance is less than or equal to the other.
operator ==(covariant ContactEvent other) bool
The equality operator.
override
operator >(covariant ContactEvent other) bool
Return if this instance is greater than the other.
operator >=(covariant ContactEvent other) bool
Return if this instance is greater than or equal to the other.