isFrozen property Null safety

bool isFrozen

Returns true if this message is marked read-only. Otherwise false.

Even when false, some sub-message could be read-only.

If true all sub-messages are frozen.

Implementation

bool get isFrozen => _fieldSet._isReadOnly;