fromJson static method

BoxGeometry fromJson(
  1. Map<String, dynamic> data
)

Implementation

static BoxGeometry fromJson(Map<String,dynamic> data) {
  return BoxGeometry(data["width"], data["height"], data["depth"],
      data["widthSegments"], data["heightSegments"], data["depthSegments"]);
}