DateTimeEntity class

A date and time entity extracted from text.

Inheritance

Constructors

DateTimeEntity(String rawValue, {required DateTimeGranularity dateTimeGranularity, required int timestamp})
Constructor to create an instance of DateTimeEntity.

Properties

dateTimeGranularity DateTimeGranularity
The granularity of the date and time.
final
hashCode int
The hash code for this object.
no setterinherited
rawValue String
The string representation of the entity.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
The parsed timestamp in milliseconds from the epoch of 1970-01-01T00:00:00Z (UTC timezone).
final
type EntityType
The type of an extracted entity.
finalinherited

Methods

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

Operators

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