toJson method
Implementation
Map<String, dynamic> toJson() {
final containerName = this.containerName;
final containerPort = this.containerPort;
final port = this.port;
final registryArn = this.registryArn;
return {
if (containerName != null) 'containerName': containerName,
if (containerPort != null) 'containerPort': containerPort,
if (port != null) 'port': port,
if (registryArn != null) 'registryArn': registryArn,
};
}