toFlutter method

  1. @override
SmartDashesType toFlutter(
  1. AnyWidgetContext context
)
override

Implementation

@override
SmartDashesType toFlutter(AnyWidgetContext context) {
  return map(
    disabled: (_) => SmartDashesType.disabled,
    enabled: (_) => SmartDashesType.enabled,
  );
}