getFlavorPath method

String? getFlavorPath()

Gets the absolute path to the flavor directory for the current flavor.

Returns null if no flavor is specified.

Implementation

String? getFlavorPath() {
  if (flavor == null) return null;
  return join(current, flavorDir, flavor!);
}