DataMap class abstract

Permite el manejo tipado del tipo Map

Inheritance
Implementers

Constructors

DataMap({String name = 'unamed', bool isData = false, bool no_update = false, bool required = false, String? label})

Properties

asDataList List<DataFace>
Devuelve un List de los attributos del objeto
no setter
asDataMap Map<String, DataFace>
Devuelve un Map con los attributos del objeto
no setter
autoRequestReference bool
no setter
changed bool
verifica si hay cambios
no setteroverride
completed Future
no setteroverride
enabled bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
idOfList int
getter/setter pair
isData bool
final
isEmpty bool
no setteroverride
isNotEmpty → dynamic
no setterinherited
label String
getter/setter pairinherited
memberList List<DataFace>
Devuelve la lista de miembros del objeto
no setter
memberMap Map<String, DataFace>
Devuelve un Map de miembros del objeto
no setter
msg String
getter/setter pairinherited
name String
finalinherited
no_update bool
getter/setter pairinherited
objectId int
finalinherited
parent DataFace?
getter/setter pairinherited
process List<Future>
getter/setter pairinherited
required bool
getter/setter pairinherited
rules List<DataRule>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type DataType
final

Methods

activeAllAutoRequestReferences({bool active = true}) → dynamic
bind({required List<DataFace> members}) → void
conecta elementos al contenedor
cancelEventByName(String name) → dynamic
inherited
changes(dynamic x) bool
obtiene los cambios realizados
override
get() Map<String, dynamic>
devuelve el contenido del objeto expresado en un Map
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(String name, EventFn fn) EventHandler
inherited
onChange(DataFace? data) → void
disponible para sobreescribir y validar
inherited
oneTimeOn(String name, EventFn fn) EventHandler
inherited
onValid(dynamic fn(DataFace data)) → dynamic
inherited
refresh() → void
permite actualizar cuando el objeto esta conectado a componentes graficos
override
request({dynamic key}) Future
requestReferences() → dynamic
resetTo({dynamic value, dynamic justValue}) → void
resetea los valores a partir de un map
override
resetToDefault() → dynamic
resetea los valores a su valor por defecto
override
setTo({dynamic value}) → void
permite asignarle valor al objeto mediante un Map
override
toString() String
A string representation of this object.
inherited
trigger(String name, [dynamic arg]) Future<void>
inherited
undo() → void
deshace los cambios realizados
override
valid() → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited