commitRoster method
- String? version,
- List<
String> removed, - List<
XmppRosterItem> modified, - List<
XmppRosterItem> added
override
Overrideable function Commits the roster data to persistent storage.
version
is the roster version string. If none was provided, then this value
is null.
removed
is a (possibly empty) list of bare JIDs that are removed from the
roster.
modified
is a (possibly empty) list of XmppRosterItems that are modified. Correlation with
the cache is done using its jid attribute.
added
is a (possibly empty) list of XmppRosterItems that are added by the
roster push or roster fetch request.
Implementation
@override
Future<void> commitRoster(
String? version,
List<String> removed,
List<XmppRosterItem> modified,
List<XmppRosterItem> added,
) async {}