data/nui_ent library

Extensions

NUIEntTypeExt on NUIEntType

Functions

asDateTime(dynamic value, {String? format}) DateTime?
asList<T>(dynamic value) List<T>?
asListOfObjects<E>(NUIEntMapper<E> entity, dynamic value) List<E>
asMap(dynamic value) Map<String, dynamic>
asMapOfObject<T>(NUIEntMapper<T> entity, dynamic value) Map<String, T>
asMapOfType<T>(dynamic value) Map<String, T>
asObject<D>(NUIEntMapper<D> entity, dynamic value) → D?
valueOfEntType(String value) NUIEntType

Typedefs

EntCustomerMapper = dynamic Function(dynamic value)
EntFieldGetter<T> = dynamic Function(T data)
EntFieldSetter<T> = dynamic Function(T data, dynamic value)
EntityGetter<T> = NUIEntMapper<T> Function()