unixepoch property
Formats this datetime as a unix timestamp - the number of seconds since 1970-01-01 00:00:00 UTC.
This function always returns an integer for seconds, even if the input value has millisecond precision.
Implementation
Expression<int> get unixepoch {
return _DependingOnDateTimeExpression(
forTimestamps: dartCast(), // Value is a unix timestamp already
forIsoString: FunctionCallExpression('UNIXEPOCH', [this]),
);
}