PgDate class final

A wrapper for the Postgres date type, which stores dates (year, month, days).

Constructors

PgDate({required int year, required int month, required int day})
PgDate.fromDateTime(DateTime dateTime)

Properties

day int
final
hashCode int
The hash code for this object.
no setteroverride
month int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
year int
final

Methods

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

Operators

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