fromJson static method

dynamic fromJson(
  1. dynamic data
)

Implementation

static fromJson(data) {
  return TorusGeometry(data.radius, data.tube, data.radialSegments,
      data.tubularSegments, data.arc);
}