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