dart - Can we know at runtime if the code is running in a browser or on a server? -



dart - Can we know at runtime if the code is running in a browser or on a server? -

can know @ runtime if code running in browser or on server ?

by browser, mean gui, either javascript generated dart2js or dartium. server, mean cli.

a pub bundle has been made case : is_client

you can code help if don't want utilize package.

dart

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -