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 aMap<String, dynamic> map
, parsingDateTime
from a ISO 8601 format string.
Properties
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 theString
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
.