RecencyDimension.fromJson constructor

RecencyDimension.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory RecencyDimension.fromJson(Map<String, dynamic> json) {
  return RecencyDimension(
    duration: (json['Duration'] as String).toDuration(),
    recencyType: (json['RecencyType'] as String).toRecencyType(),
  );
}