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