toJson method

dynamic toJson()

Implementation

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