toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final sendingPoolName = this.sendingPoolName;
  final tlsPolicy = this.tlsPolicy;
  return {
    if (sendingPoolName != null) 'SendingPoolName': sendingPoolName,
    if (tlsPolicy != null) 'TlsPolicy': tlsPolicy.toValue(),
  };
}