maxDate method

DateTime maxDate(
  1. DateTime? other
)

Implementation

DateTime maxDate(DateTime? other) {
  return (other == null || isAfter(other)) ? this : other;
}