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
Post a Comment