toJSON method

  1. @override
Map<String, dynamic> toJSON([
  1. dynamic data
])
override

Implementation

@override
Map<String, dynamic> toJSON([data]) {
  var result = super.toJSON();
  result['meshPerAttribute'] = meshPerAttribute;
  result['isInstancedBufferAttribute'] = true;
  return result;
}