formatReleaseBundleFile static method

String formatReleaseBundleFile(
  1. String file,
  2. String name,
  3. Version version, [
  4. String? platform,
])

Implementation

static String formatReleaseBundleFile(
    String file, String name, Version version,
    [String? platform]) {
  if (!file.contains('%')) {
    return file;
  }
  file = _replaceMark(file, 'NAME', name);
  file = _replaceMark(file, 'VER', version.toString());
  file = _replaceMark(file, 'PLATFORM', platform);
  return file;
}