Map<String, dynamic> toMap() { return <String, dynamic>{ 'email': ?email, 'id': ?id, 'permissions': permissions, 'type': type, 'uri': ?uri, }; }