toJson method
Implementation
Map<String, dynamic> toJson() {
final connectorDefinitionVersionArn = this.connectorDefinitionVersionArn;
final coreDefinitionVersionArn = this.coreDefinitionVersionArn;
final deviceDefinitionVersionArn = this.deviceDefinitionVersionArn;
final functionDefinitionVersionArn = this.functionDefinitionVersionArn;
final loggerDefinitionVersionArn = this.loggerDefinitionVersionArn;
final resourceDefinitionVersionArn = this.resourceDefinitionVersionArn;
final subscriptionDefinitionVersionArn =
this.subscriptionDefinitionVersionArn;
return {
if (connectorDefinitionVersionArn != null)
'ConnectorDefinitionVersionArn': connectorDefinitionVersionArn,
if (coreDefinitionVersionArn != null)
'CoreDefinitionVersionArn': coreDefinitionVersionArn,
if (deviceDefinitionVersionArn != null)
'DeviceDefinitionVersionArn': deviceDefinitionVersionArn,
if (functionDefinitionVersionArn != null)
'FunctionDefinitionVersionArn': functionDefinitionVersionArn,
if (loggerDefinitionVersionArn != null)
'LoggerDefinitionVersionArn': loggerDefinitionVersionArn,
if (resourceDefinitionVersionArn != null)
'ResourceDefinitionVersionArn': resourceDefinitionVersionArn,
if (subscriptionDefinitionVersionArn != null)
'SubscriptionDefinitionVersionArn': subscriptionDefinitionVersionArn,
};
}