modules/checkers library
Functions
-
responseIsError(
Map< String, dynamic> subject) → bool - Checks whether the supplied response map has an "error" key. If this is the case, "true" is returned. If this is not the case, "false" is returned.
-
userExists(
String userName, String server, String baseUrl, String apiBase) → Future< bool> - Checks whether the supplied user exists on the given instance. If they do exist, "true" is returned. If they don't exist, "false" is returned.