Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can not find anything in the specification regarding "native" clause

Tags:

dart

I can not find anything in the language specification regarding "native" clause. Who can explain me where this defined as part of language?

Code example written in Dart language:

double get defaultValue native "AudioParam_defaultValue_Getter";

I know that this intended for writing wrappers to native code but I cannot find where this defined that this is a valid language element.

like image 278
mezoni Avatar asked Nov 02 '22 12:11

mezoni


1 Answers

I believe this is an implementation detail and is not (yet) part of the spec.

I'd open a bug to track this. I could imagine others wanted create code that uses native.

See here: https://code.google.com/p/dart/issues/detail?id=7703

like image 200
Kevin Moore Avatar answered Nov 15 '22 08:11

Kevin Moore