web/utils/utils library

Functions

checkEmptyEnum(dynamic getEnumFun, dynamic defaultValue) → dynamic
convertTo(dynamic key, dynamic jsObject) → dynamic
createJSArray(List list) → dynamic
getArrayItem(dynamic array, dynamic index) → dynamic
handleThenable<T>(ThenableJsImpl<T> thenable) Future<T>
jsToMap(dynamic jsObject) Map<String, dynamic>
log(Object obj) → void
mapToJSObj(Map a) Object
mapToJSObjForDeep(Map map) Object
parse(String obj) Object
stringify(Object obj) String
typeof(dynamic type) String
wrappedPromiseToFuture(Object jsPromise) Future<JSResult>

Typedefs

Func1<A, R> = R Function(A a)