Map<String, dynamic> toMap() { return <String, dynamic>{ 'identity': identity, 'identityCertificateEnabled': identityCertificateEnabled, }; }