toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "pk_map": pks.map((pk) => pk.toJson()).toList(),
    "threshold": threshold,
  };
}