AdaptyPeriod.fromJson constructor

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

Implementation

AdaptyPeriod.fromJson(Map<String, dynamic> json)
    : unit = periodUnitFromInt(json['unit']),
      numberOfUnits = json['numberOfUnits'];