editable property

bool get editable

Whether Studio has a control for this type. Anything else is shown and left as it is.

Implementation

bool get editable =>
    !sensitive &&
    (options != null ||
        relation != null ||
        isCollection ||
        const <String>{'String', 'int', 'double', 'num', 'bool', 'DateTime'}
            .contains(baseType));