fromJSON static method

dynamic fromJSON(
  1. dynamic data
)

Implementation

static fromJSON(data) {
  return RingGeometry(
      data.innerRadius,
      data.outerRadius,
      data.thetaSegments,
      data.phiSegments,
      data.thetaStart,
      data.thetaLength);
}