toJson method
Implementation
Map<String, dynamic> toJson() {
final source = this.source;
final roleArn = this.roleArn;
final stackParameters = this.stackParameters;
return {
'source': source,
if (roleArn != null) 'roleArn': roleArn,
if (stackParameters != null) 'stackParameters': stackParameters,
};
}