UpdateBuyPageText.fromJson constructor
Implementation
factory UpdateBuyPageText.fromJson(
Map<String, Object?> json,
) =>
UpdateBuyPageText(
checkoutSectionTitle: json.containsKey("checkout_section_title")
? TextValueUpdate.fromJson(
json["checkout_section_title"],
)
: null,
amountFieldLabel: json.containsKey("amount_field_label")
? TextValueUpdate.fromJson(
json["amount_field_label"],
)
: null,
primaryActionLabel: json.containsKey("primary_action_label")
? TextValueUpdate.fromJson(
json["primary_action_label"],
)
: null,
);