GetBillingChoiceInfoParamsAndroid.fromJson constructor

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

Implementation

factory GetBillingChoiceInfoParamsAndroid.fromJson(Map<String, dynamic> json) {
  return GetBillingChoiceInfoParamsAndroid(
    billingProgram: json['billingProgram'] != null ? BillingProgramAndroid.fromJson(json['billingProgram'] as String) : BillingProgramAndroid.BillingChoice,
    playBillingChoiceImageLayout: json['playBillingChoiceImageLayout'] != null ? BillingChoiceImageLayoutAndroid.fromJson(json['playBillingChoiceImageLayout'] as String) : BillingChoiceImageLayoutAndroid.RectangularFourByOne,
    userLocale: json['userLocale'] as String?,
  );
}