dcoDecodeTimestamp function
This is only intended to be used by automatically generated code, instead of developers.
Implementation
DateTime dcoDecodeTimestamp({required int ts, required bool isUtc}) {
if (kIsWeb) {
return DateTime.fromMillisecondsSinceEpoch(ts, isUtc: isUtc);
}
return DateTime.fromMicrosecondsSinceEpoch(ts, isUtc: isUtc);
}