toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'provider'] = this.provider;
json[r'secretKey'] = this.secretKey;
if (this.webhookSecret != null) {
json[r'webhookSecret'] = this.webhookSecret;
} else {
json[r'webhookSecret'] = null;
}
if (this.isSandbox != null) {
json[r'isSandbox'] = this.isSandbox;
} else {
json[r'isSandbox'] = null;
}
return json;
}