QuotaPeriod.fromJson constructor

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

Implementation

factory QuotaPeriod.fromJson(Map<String, dynamic> json) {
  return QuotaPeriod(
    periodUnit: (json['PeriodUnit'] as String?)?.toPeriodUnit(),
    periodValue: json['PeriodValue'] as int?,
  );
}