ChalonaTable<K> class abstract

ChalonaTable extiende ChalonaMap para proporcionar funcionalidad tipo tabla Proporciona una interfaz especializada para manejar tablas de base de datos o datos estructurados similares Esta es una clase abstracta que debe ser extendida por implementaciones específicas de tablas

Inheritance
Implementers

Constructors

ChalonaTable.new({required _ChalonaMapBuilderToken token, required String? name})

Properties

entries Iterable<MapEntry<String, ChalonaType>>
no setterinherited
hasChanges bool
Verifica si hay cambios comparando el valor actual con el inicial
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id Id
final
internalId int
no setterinherited
isEmpty bool
no setterinherited
isNew bool
no setter
isNotEmpty bool
no setterinherited
isStandalone bool
finalinherited
key ↔ K?
getter/setter pair
keys Iterable<String>
no setterinherited
length int
no setterinherited
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Iterable<ChalonaType>
no setterinherited

Methods

changes(Map<String, dynamic> changesMap) bool
Verificar si hay cambios en alguno de los miembros del mapa
override
containsKey(String key) bool
inherited
get() Map<String, dynamic>
inherited
getOrDefault(String key, ChalonaType defaultValue) ChalonaType
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request(K id) Future<void>
Realiza una petición al servidor usando el nombre de la tabla + '_request' como endpoint y resetea la tabla con los datos de la respuesta
reset([dynamic value]) → void
override
set(dynamic value) → void
inherited
toString() String
A string representation of this object.
inherited
update() Future<void>
Envía los cambios al servidor Si isNew es true, realiza un insert Si isNew es false, realiza un update

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) ChalonaType?
inherited