$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 'child':
      return $Widget.wrap($value.child);
    case 'canPop':
      return $value.canPop == null ? const $null() : $bool($value.canPop!);
    case 'createState':
      return __createState;
  }
  throw UnimplementedError('property $identifier not generated for Form');
}