BaseStore<T> class abstract

Classe base para os stores.

Implementers

Constructors

BaseStore(StoreConfig<T> config)

Properties

config StoreConfig<T>
Configuração.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isAbsoluteUrl bool
Indica se a URL é absoluta (servidor externo).
getter/setter pair
isStatic bool
Indica se é estático (utiliza dados locais).
getter/setter pair
requestService RequestService
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getRequestModel(String action, {Object? data, Object? masterId}) RequestModel
Obtém um model da requisição usando o endereço da action action, os dados a serem enviados (opcional) data e o masterId ID do registro pai, se houver (opcional).
getUrl(String action, Object? masterId) String
Obtém uma URL com o controle base usando a action action e o masterId ID do registro pai, se houver (opcional).
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

Constants

urlIdPlaceholder → const String
Placeholder para o ID na URL.