$getProperty method
Get a property by identifier
on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'color':
final _color = $value.color;
return $Color.wrap(_color);
case 'darkColor':
final _darkColor = $value.darkColor;
return $Color.wrap(_darkColor);
case 'highContrastColor':
final _highContrastColor = $value.highContrastColor;
return $Color.wrap(_highContrastColor);
case 'darkHighContrastColor':
final _darkHighContrastColor = $value.darkHighContrastColor;
return $Color.wrap(_darkHighContrastColor);
case 'elevatedColor':
final _elevatedColor = $value.elevatedColor;
return $Color.wrap(_elevatedColor);
case 'darkElevatedColor':
final _darkElevatedColor = $value.darkElevatedColor;
return $Color.wrap(_darkElevatedColor);
case 'highContrastElevatedColor':
final _highContrastElevatedColor = $value.highContrastElevatedColor;
return $Color.wrap(_highContrastElevatedColor);
case 'darkHighContrastElevatedColor':
final _darkHighContrastElevatedColor =
$value.darkHighContrastElevatedColor;
return $Color.wrap(_darkHighContrastElevatedColor);
case 'value':
final _value = $value.value;
return $int(_value);
case 'alpha':
final _alpha = $value.alpha;
return $int(_alpha);
case 'blue':
final _blue = $value.blue;
return $int(_blue);
case 'green':
final _green = $value.green;
return $int(_green);
case 'opacity':
final _opacity = $value.opacity;
return $double(_opacity);
case 'red':
final _red = $value.red;
return $int(_red);
case 'a':
final _a = $value.a;
return $double(_a);
case 'r':
final _r = $value.r;
return $double(_r);
case 'g':
final _g = $value.g;
return $double(_g);
case 'b':
final _b = $value.b;
return $double(_b);
case 'colorSpace':
final _colorSpace = $value.colorSpace;
return $ColorSpace.wrap(_colorSpace);
case 'resolveFrom':
return __resolveFrom;
case 'debugFillProperties':
return __debugFillProperties;
case 'toARGB32':
return __toARGB32;
case 'computeLuminance':
return __computeLuminance;
case 'withAlpha':
return __withAlpha;
case 'withBlue':
return __withBlue;
case 'withGreen':
return __withGreen;
case 'withOpacity':
return __withOpacity;
case 'withRed':
return __withRed;
case 'withValues':
return __withValues;
}
return _superclass.$getProperty(runtime, identifier);
}