legacyTokenDir static method

String legacyTokenDir(
  1. AppArchitecture arch
)

v0.3 token folder. Used for shims and for srik add on old projects.

Implementation

static String legacyTokenDir(AppArchitecture arch) {
  switch (arch) {
    case AppArchitecture.clean:
    case AppArchitecture.mvvm:
      return 'core/constants';
    case AppArchitecture.featureFirst:
      return 'shared/theme';
    case AppArchitecture.simple:
      return 'theme';
  }
}