core.Map<core.String, core.dynamic> toJson() => { if (commonMetadata != null) 'commonMetadata': commonMetadata!.toJson(), };