getValue method Null safety

dynamic getValue(
  1. dynamic obj
)

Gets a real object value. If object is a wrapper, it unwraps the value behind it. Otherwise it returns the same object value.

  • obj an object to unwrap.. Returns an actual (unwrapped) object value.