Future<void> writeTOMLAsync( Map<String, dynamic> config, String TOMLPath) async { String toml = TomlDocument.fromMap(config).toString(); await File(TOMLPath).writeAsString(toml); }