toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final recency = this.recency;
  return {
    if (recency != null) 'Recency': recency,
  };
}