ResourceConfig class
Configuração declarativa de um recurso administrável (CRUD). Você só lista os endpoints e os campos; o FlenxResourcePage cuida da tela inteira (listar, criar, editar, excluir). Reaproveitável para qualquer entidade.
Constructors
Properties
- canCreate → bool
-
no setter
- canDelete → bool
-
no setter
- canEdit → bool
-
no setter
- createPath → String?
-
final
- deletePath → String?
-
final
-
fields
→ List<
ResourceField> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idKey → String
-
final
- listPath → String
-
Endpoints da API (envelope padrão do Flenx).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- singular → String
-
Nome no singular (ex.: "produto") para textos de botões/diálogos.
final
- subtitleKey → String?
-
final
- title → String
-
final
- titleKey → String
-
Campo usado como título de cada linha; opcionalmente um subtítulo.
final
- updatePath → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited