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