follow method
Implementation
Future follow(Uri object) async {
Map<String, dynamic> body = {
"to": ["as:Public"],
"type": "Follow",
"object": object.toString()
};
String json = jsonEncode(body);
await AuthBaseApi.post(
url:
Uri.parse("https://${Config.domainName}/outbox/${Config.ownActorId}"),
body: json,
headers: <String, String>{
"content-type": "application/json",
},
);
}