toDateTime function

DateTime? toDateTime(
  1. int? v
)

Implementation

DateTime? toDateTime(int? v) {
  return v == null
      ? null
      : DateTime.fromMillisecondsSinceEpoch(v * 1000, isUtc: true);
}