startCloud function
Implementation
Future<LocalitySocialCloud?> startCloud() async {
return LocalitySocialCloud.up(
appId: "YOUR_APP_ID",
/// NOTE: The last letter of your app secret is '='; It is NOT whitespace
appSecret: "YOUR_APP_SECRET",
username: "YOUR_USERNAME",
password: "YOUR_PASSWORD",
onError: (AuthError error) {
print(error.toString());
},
);
}