UnidadList class
- Inheritance
-
- Object
- Iterable<
Unidad> - DataIterable<
Unidad> - DataListMap<
Unidad> - TableDetailList<
Unidad> - UnidadList
Constructors
- UnidadList({String name = 'unidad'})
Properties
- changed → bool
-
determina si se han realizado cambios en el objeto
no setterinherited
- completed → Future
-
no setterinherited
-
create
→ DataListCreateFn<
Unidad> -
devuelve un elemento nuevo del datalist
finalinherited
- enabled ↔ bool
-
getter/setter pairinherited
- first → Unidad
-
The first element.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isData → bool
-
finalinherited
- isEmpty → bool
-
Whether this collection has no elements.
no setterinherited
- isNotEmpty → bool
-
Whether this collection has at least one element.
no setterinherited
-
iterator
→ Iterator<
Unidad> -
A new
Iterator
that allows iterating the elements of thisIterable
.no setterinherited -
key
↔ List<
String> -
getter/setter pairinherited
- label ↔ String
-
getter/setter pairinherited
- last → Unidad
-
The last element.
no setterinherited
- length → int
-
The number of elements in this Iterable.
no setterinherited
- 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
- single → Unidad
-
Checks that this iterable has only one element, and returns that element.
no setterinherited
- type → DataType
-
finalinherited
Methods
-
addList(
List< Map> data) → dynamic -
agrega los elementos de un List
inherited
-
addMap(
Map? data) → Unidad -
agrega un elemento a partir de un Map */
inherited
-
any(
bool test(Unidad element)) → bool -
Checks whether any element of this iterable satisfies
test
.inherited -
cancelEventByName(
String name) → dynamic -
inherited
-
cast<
R> () → Iterable< R> -
A view of this iterable as an iterable of
R
instances.inherited -
changes(
dynamic x) → bool -
devuelve los cambios realizados
inherited
-
checkRules(
) → Future -
agrega un elemento a partir de un Map */
inherited
-
contains(
Object? element) → bool -
Whether the collection contains an element equal to
element
.inherited -
elementAt(
int index) → Unidad -
Returns the
index
th element.inherited -
every(
bool test(Unidad element)) → bool -
Checks whether every element of this iterable satisfies
test
.inherited -
expand<
T> (Iterable< T> toElements(Unidad element)) → Iterable<T> -
Expands each element of this Iterable into zero or more elements.
inherited
-
firstWhere(
bool test(Unidad element), {Unidad orElse()?}) → Unidad -
The first element that satisfies the given predicate
test
.inherited -
fold<
T> (T initialValue, T combine(T previousValue, Unidad element)) → T -
Reduces a collection to a single value by iteratively combining each
element of the collection with an existing value
inherited
-
followedBy(
Iterable< Unidad> other) → Iterable<Unidad> -
Creates the lazy concatenation of this iterable and
other
.inherited -
forEach(
void action(Unidad element)) → void -
Invokes
action
on each element of this iterable in iteration order.inherited -
get(
) → List< Map< String, dynamic> > -
para acceder al contenido
inherited
-
getById(
String x) → Unidad? -
inherited
-
getRowById(
String id) → Unidad? -
inherited
-
getRowByKey(
Map find, {List< String> ? key}) → List<Unidad> -
inherited
-
join(
[String separator = ""]) → String -
Converts each element to a String and concatenates the strings.
inherited
-
lastWhere(
bool test(Unidad element), {Unidad orElse()?}) → Unidad -
The last element that satisfies the given predicate
test
.inherited -
map<
T> (T toElement(Unidad e)) → Iterable< T> -
The current elements of this iterable modified by
toElement
.inherited -
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 realizar validaciones */
inherited
-
oneTimeOn(
String name, EventFn fn) → EventHandler -
inherited
-
onValid(
dynamic fn(DataFace data)) → dynamic -
inherited
-
reduce(
Unidad combine(Unidad value, Unidad element)) → Unidad -
Reduces a collection to a single value by iteratively combining elements
of the collection using the provided function.
inherited
-
refresh(
) → void -
permite actualizar cuando el objeto esta conectado a componentes graficos */
inherited
-
removeItem(
Unidad x) → dynamic -
inherited
-
request(
[String? x]) → Future -
inherited
-
resetTo(
{dynamic value}) → void -
para restablecer conenido
inherited
-
resetToDefault(
) → dynamic -
restablecer valore predeterminados
inherited
-
setTo(
{dynamic value}) → void -
para modificar contenido
inherited
-
singleWhere(
bool test(Unidad element), {Unidad orElse()?}) → Unidad -
The single element that satisfies
test
.inherited -
skip(
int count) → Iterable< Unidad> -
Creates an Iterable that provides all but the first
count
elements.inherited -
skipWhile(
bool test(Unidad value)) → Iterable< Unidad> -
Creates an
Iterable
that skips leading elements whiletest
is satisfied.inherited -
take(
int count) → Iterable< Unidad> -
Creates a lazy iterable of the
count
first elements of this iterable.inherited -
takeWhile(
bool test(Unidad value)) → Iterable< Unidad> -
Creates a lazy iterable of the leading elements satisfying
test
.inherited -
toList(
{bool growable = true}) → List< Unidad> -
Creates a List containing the elements of this Iterable.
inherited
-
toSet(
) → Set< Unidad> -
Creates a Set containing the same elements as this iterable.
inherited
-
toString(
) → String -
Returns a string representation of (some of) the elements of
this
.inherited -
trigger(
String name, [dynamic arg]) → Future< void> -
inherited
-
undo(
) → DataFace< List< Map< >String, dynamic> > -
deshace los cambios realizados*/
inherited
-
valid(
) → void -
inherited
-
where(
bool test(Unidad element)) → Iterable< Unidad> -
Creates a new lazy Iterable with all elements that satisfy the
predicate
test
.inherited -
whereKey<
R> (List< String> key, Map<String, dynamic> find) → List<Unidad> -
permite buscar mediante la comparacion con ula lista especificada */
inherited
-
whereType<
T> () → Iterable< T> -
Creates a new lazy Iterable with all elements that have type
T
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
int index) → dynamic -
inherited