Map<String, dynamic> toMap() { return { 'key': key, 'uniqueIdentifier': uniqueIdentifier, 'userInfo': userInfo, }; }