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