helper/pack library
Functions
-
isPrimitiveValue(
dynamic value) → bool - Check if value is primitive type
-
packObject<
T> (dynamic receiver, T factory()) → T - Wrap native object into specified type instance T is the target type receiver is the native object factory is the constructor of target type
-
unpackObject<
T> (dynamic instance) → T