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