FreeTrial.fromJson constructor

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

Implementation

factory FreeTrial.fromJson(Map<String, dynamic> json) => FreeTrial(
      enabled: json["enabled"] == null ? null : json["enabled"],
      duration: json["duration"],
    );