fromJSON static method

dynamic fromJSON(
  1. dynamic data
)

Implementation

static fromJSON(data) {
  return SphereGeometry(data["radius"], data["widthSegments"], data["heightSegments"], data["phiStart"],
      data["phiLength"], data["thetaStart"], data["thetaLength"]);
}