Map<String, dynamic> toJson() => {'id': id, 'value': value, 'type': type, 'numericValue': numericValue};