isWritable abstract method

bool isWritable([
  1. EvaluationContext? context,
  2. Object? rootObject
])

Whether setValue would store a value: the expression names a writable property, variable or element and the context allows assignment.

Returns false instead of throwing when the path cannot be evaluated.

Implementation

bool isWritable([EvaluationContext? context, Object? rootObject]);