ConnectionsService class
Constructors
- ConnectionsService()
-
factory
Properties
- connectionProvider ↔ ConnectionProvider
-
getter/setter pair
- followAtsign ↔ String?
-
getter/setter pair
- followerAtsign ↔ String?
-
getter/setter pair
- followers ↔ AtFollowsList
-
getter/setter pair
- following ↔ AtFollowsList
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialised ↔ String
-
getter/setter pair
- isMonitorStarted ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acceptStream(
dynamic response) → dynamic -
changeListPublicStatus(
bool isFollowing, bool isPrivate) → Future< bool> -
Returns
true
on changing the status of the list toisPrivate
. -
createLists(
{required bool isFollowing}) → Future< void> - creates following and followers list.
-
delete(
String atsign) → Future< bool> -
Deletes the
atsign
from followers and following lists. -
deleteFollowers(
AtNotification notification, {bool isSetStatus = true}) → Future< void> -
deletes
notification.fromAtSign
from followers list. -
deleteFollowing(
AtNotification notification, {bool isSetStatus = true}) → Future< void> -
deletes
notification.fromAtSign
from following list. -
follow(
String? atsign) → Future< Atsign?> -
formatAtSign(
String? atsign) → String? -
Returns null if
atsign
is null else the formattedatsign
.atsign
must be non-null. -
getAtsignsList(
{bool isInit = false}) → Future< void> -
init(
String atsign) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeFollower(
String atsign) → Future< bool> -
startMonitor(
) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
-
unfollow(
String? atsign) → Future< bool> -
updateFollowers(
AtNotification notification, {bool isSetStatus = true}) → Future< void> -
adds
notification.fromAtSign
into followers list.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited