decodeDateTime function

DateTime? decodeDateTime(
  1. int? json
)

Implementation

DateTime? decodeDateTime(int? json) {
  if (json == null) return null;
  return DateTime.fromMillisecondsSinceEpoch(json * 1000);
}