tryCastToDateTime method

DateTime? tryCastToDateTime()

Implementation

DateTime? tryCastToDateTime() {
  if (this == null) {
    return null;
  }
  return this!.value.tryCastToDateTime();
}