Gregorian.fromMillisecondsSinceEpoch constructor
Create a Gregorian date from milliseconds since epoch
If isUtc
is false then the date is in the local time zone
Implementation
factory Gregorian.fromMillisecondsSinceEpoch(
int milliseconds, {
bool isUtc = false,
}) {
return Gregorian.fromDateTime(
DateTime.fromMillisecondsSinceEpoch(
milliseconds,
isUtc: isUtc,
),
);
}