$getProperty method

  1. @override
$Value? $getProperty(
  1. Runtime runtime,
  2. String identifier
)

Get a property by identifier on this instance

Implementation

@override
$Value? $getProperty(Runtime runtime, String identifier) {
  switch (identifier) {
    case 'a':
      final _a = $value.a;
      return $double(_a);

    case 'b':
      final _b = $value.b;
      return $double(_b);
    case 'constrain':
      return __constrain;
  }
  return _superclass.$getProperty(runtime, identifier);
}