CalcLength(calcDictionary_OR_length)

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");
}