$getProperty method

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

Get a property by identifier on this instance

Implementation

@override
$Value? $getProperty(Runtime runtime, String identifier) {
  switch (identifier) {
    case 'hasMatch':
      return __hasMatch;
    case 'firstMatch':
      return __firstMatch;
    case 'allMatches':
      return __allMatches;
    case 'stringMatch':
      return __stringMatch;

    default:
      return _superclass.$getProperty(runtime, identifier);
  }
}