SmartDateOptionsHandler.withContext constructor

SmartDateOptionsHandler.withContext(
  1. SmartDateService _smartDateService, {
  2. String? placeholder,
  3. required SmartDateOptionsConfig config,
  4. OptionsService? optionService,
})

Implementation

SmartDateOptionsHandler.withContext(
  this._smartDateService, {
  String? placeholder,
  required this.config,
  OptionsService? optionService,
})  : placeholder = placeholder ?? "e.g. birthday, July 1",
      super("smartDateQueryResult") {
  optionService?.register(this);
}