namespace FileFlows.Gotify; /// /// Extension methods /// internal static class ExtensionMethods { /// /// Returns an empty string as null, otherwise returns the original string /// /// the input string /// the string or null if empty public static string? EmptyAsNull(this string str) => str == string.Empty ? null : str; }