toVoltronObject method

Object toVoltronObject()

Implementation

Object toVoltronObject () {
  var temp = this;
  if (temp is Map) {
    temp = temp.toVoltronMap();
  } else if (temp is List) {
    temp = temp.toVoltronArray();
  } else if (temp is VoltronMap) {
    temp = temp.toDeepVoltronMap();
  } else if (temp is VoltronArray) {
    temp = temp.toDeepVoltronArray();
  }
  return temp;
}