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