readOnly property

bool readOnly

Implementation

bool get readOnly => hasPublicGetter && !hasPublicSetter;