fieldIsReadOnly property

bool get fieldIsReadOnly

Implementation

bool get fieldIsReadOnly => _dartFieldType!.startsWith(_fieldReadOnlyPrefix);
set fieldIsReadOnly (bool value)

Implementation

set fieldIsReadOnly(bool value) {
  if (fieldIsReadOnly == value) return;
  if (value) {
    _dartFieldType = _fieldReadOnlyPrefix + _dartFieldType!;
  } else {
    _dartFieldType = _dartFieldType!.substring(_fieldReadOnlyPrefix.length);
  }
}