toJson method

Map<String, dynamic> toJson()

Serializes this feature vector to a JSON-compatible map.

Implementation

Map<String, dynamic> toJson() => {
      'amount': amount,
      'requestFrequency': requestFrequency,
      'isNewDevice': isNewDevice,
      'isIpAnomaly': isIpAnomaly,
    };