isValid method

bool isValid(
  1. DatepickerPreset preset
)

Implementation

bool isValid(DatepickerPreset preset) => _validPresets.contains(preset);