toJSON method

  1. @override
Map<String, dynamic> toJSON({
  1. Object3dMeta? meta,
})
override

Implementation

@override
toJSON({Object3dMeta? meta}) {
  var data = super.toJSON(meta: meta);

  data["object"]["width"] = width;
  data["object"]["height"] = height;

  return data;
}