toJson method
Converts this ApplePayParams instance to a JSON map.
Implementation
Map<String, dynamic> toJson() {
return {
'buttonType': buttonType?.name,
'buttonStyle': buttonStyle?.toJson(),
};
}
Converts this ApplePayParams instance to a JSON map.
Map<String, dynamic> toJson() {
return {
'buttonType': buttonType?.name,
'buttonStyle': buttonStyle?.toJson(),
};
}