expectedLibraryName function
Expected library filename for a given target and library stem.
Uses target to determine the platform-specific naming convention
and stem as the library's base name (e.g., tdjson).
Implementation
String expectedLibraryName({
required NativeTarget target,
required String stem,
}) {
return canonicalLibraryName(
target: target,
libraryStem: stem,
payload: DynamicLibraryPayload(libraryStem: stem),
);
}