toJson method

  1. @override
Map<String, dynamic> toJson()
override

Returns a JSON object representation of this instance.

Implementation

@override
Map<String,dynamic> toJson() {
  final data = super.toJson();

  data['v0'] = v0.copyIntoArray();
  data['v1'] = v1.copyIntoArray();
  data['v2'] = v2.copyIntoArray();

  return data;
}