create: provide an example (JS compilation currently not working due to
a bug in dart2js)