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 -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

Set Up Of Common Name Of SSL Certificate To Protect Plesk Panel -