Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

670 B
Raw Blame
sealed class DataLocationEvent {
  const DataLocationEvent();

  factory DataLocationEvent.initial() = DataLocationInitial;

  factory DataLocationEvent.resetToDefault() = DataLocationResetToDefault;

  factory DataLocationEvent.setCustomPath(String path) =
      DataLocationSetCustomPath;

  factory DataLocationEvent.clearState() = DataLocationClearState;
}

class DataLocationInitial extends DataLocationEvent {}

class DataLocationResetToDefault extends DataLocationEvent {}

class DataLocationSetCustomPath extends DataLocationEvent {
  const DataLocationSetCustomPath(this.path);

  final String path;
}

class DataLocationClearState extends DataLocationEvent {}