toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final dnsIps = this.dnsIps;
  final password = this.password;
  final userName = this.userName;
  return {
    if (dnsIps != null) 'DnsIps': dnsIps,
    if (password != null) 'Password': password,
    if (userName != null) 'UserName': userName,
  };
}