withDateRef method

SmartDateQueryResult withDateRef(
  1. DateRef ref
)

Implementation

SmartDateQueryResult withDateRef(DateRef ref) {
  return DelegatingSmartDateQueryResult(
    this,
    title: ref.title,
    subtitle: ref.subtitle.toStringList(),
    icon: ref.iconName,
    selection: ref.selection,
  );
}