toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final auxiliaryApps = this.auxiliaryApps;
  final billingMethod = this.billingMethod;
  final customerArtifactPaths = this.customerArtifactPaths;
  final extraDataPackageArn = this.extraDataPackageArn;
  final locale = this.locale;
  final location = this.location;
  final networkProfileArn = this.networkProfileArn;
  final radios = this.radios;
  final vpceConfigurationArns = this.vpceConfigurationArns;
  return {
    if (auxiliaryApps != null) 'auxiliaryApps': auxiliaryApps,
    if (billingMethod != null) 'billingMethod': billingMethod.toValue(),
    if (customerArtifactPaths != null)
      'customerArtifactPaths': customerArtifactPaths,
    if (extraDataPackageArn != null)
      'extraDataPackageArn': extraDataPackageArn,
    if (locale != null) 'locale': locale,
    if (location != null) 'location': location,
    if (networkProfileArn != null) 'networkProfileArn': networkProfileArn,
    if (radios != null) 'radios': radios,
    if (vpceConfigurationArns != null)
      'vpceConfigurationArns': vpceConfigurationArns,
  };
}