property method Null safety

Expression property(
  1. String name
)

Returns an expression accessing .<name> on this expression.

Implementation

Expression property(String name) => BinaryExpression._(
      this,
      LiteralExpression._(name),
      '.',
      addSpace: false,
    );