FreeTrial.fromJson constructor

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

Implementation

FreeTrial.fromJson(Map<String, dynamic> json)
    : active = json['active'],
      huaweiSync = json['huaweiSync'],
      googleSync = json['googleSync'],
      appleSync = json['appleSync'],
      duration = json['duration'],
      huaweiDuration = json['huaweiDuration'],
      googleDuration = json['googleDuration'],
      appleDuration = json['appleDuration'],
      startDate = json['startDate'],
      endDate = json['endDate'];