setBuildId method

Future<void> setBuildId(
  1. String buildId
)

Implementation

Future<void> setBuildId(String buildId) async {
  if (!await File(path).exists()) {
    await File(path).create(recursive: true);
  }
  await File(path).writeAsString(buildId);
}