toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final awsCloudMap = this.awsCloudMap;
  final dns = this.dns;
  return {
    if (awsCloudMap != null) 'awsCloudMap': awsCloudMap,
    if (dns != null) 'dns': dns,
  };
}