compiledFor method
Whether running is the SDK this bundle was compiled with.
Only the first token of either side is compared, so a Platform.version
with its channel and date attached matches the bare version the packer
wrote. An empty sdk matches nothing: a bundle that does not say what
compiled it cannot be trusted by a backend that runs compiled code.
Implementation
bool compiledFor(String running) =>
sdk.isNotEmpty && _token(sdk) == _token(running);