Map<String, dynamic> toMap() { return { 'hide': hide, 'field': EnumUtils.getName(field), 'type': EnumUtils.getName(type), 'value': value, }; }