parseMilliseconds method

DateTime? parseMilliseconds(
  1. int? milliseconds
)
inherited

Implementation

DateTime? parseMilliseconds(int? milliseconds) {
  DateTime? date;
  if (milliseconds != null) {
    date = DateTime.fromMillisecondsSinceEpoch(milliseconds);
  }
  return date;
}