RetentionPeriod.fromJson constructor

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

Implementation

factory RetentionPeriod.fromJson(Map<String, dynamic> json) {
  return RetentionPeriod(
    numberOfDays: json['numberOfDays'] as int?,
    unlimited: json['unlimited'] as bool?,
  );
}