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