toJson method

dynamic toJson()

Implementation

dynamic toJson() {
  return <String, dynamic>{'axis': axis, 'value': value};
}