$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'horizontal':
return $double($value.horizontal);
case 'vertical':
return $double($value.vertical);
case 'baseSizeAdjustment':
return $Offset.wrap($value.baseSizeAdjustment);
case 'hashCode':
return $int($value.hashCode);
case 'copyWith':
return __copyWith;
case 'effectiveConstraints':
return __effectiveConstraints;
case 'debugFillProperties':
return __debugFillProperties;
case 'toStringShort':
return __toStringShort;
}
throw UnimplementedError(
'property $identifier not generated for VisualDensity');
}