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"]);
}