toOriginObject method

Object toOriginObject()

Implementation

Object toOriginObject () {
  var temp = this;
  if (temp is VoltronMap) {
    temp = temp.toMap();
  } else if (temp is VoltronArray) {
    temp = temp.toList();
  } else if (temp is Map) {
    temp = temp.toDeepMap();
  } else if (temp is List) {
    temp = temp.toDeepList();
  }
  return temp;
}