On this page
CalcLength factory constructor
CalcLength(Source
@DomName('CalcLength.CalcLength')
@DocsEditable()
factory CalcLength(calcDictionary_OR_length) {
if ((calcDictionary_OR_length is LengthValue)) {
return _blink.BlinkCalcLength.instance
.constructorCallback_1_(calcDictionary_OR_length);
}
if ((calcDictionary_OR_length is Map)) {
var calcDictionary_1 =
convertDartToNative_Dictionary(calcDictionary_OR_length);
return _blink.BlinkCalcLength.instance
.constructorCallback_1_(calcDictionary_1);
}
throw new ArgumentError("Incorrect number or type of arguments");
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/CalcLength/CalcLength.html