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