toJson method
Serializes this feature vector to a JSON-compatible map.
Implementation
Map<String, dynamic> toJson() => {
'amount': amount,
'requestFrequency': requestFrequency,
'isNewDevice': isNewDevice,
'isIpAnomaly': isIpAnomaly,
};