matrix_sdk 0.4.5 matrix_sdk: ^0.4.5 copied to clipboard
A Dart implementation of the federated communications protocol, Matrix.
import 'package:matrix_sdk/matrix_sdk.dart';
void main() async {
final hs = Homeserver(Uri.parse("https://matrix.org"));
final user = await hs.login(Username("joe"), "badPassword");
await for (bool succes in user.sync()) {
if (succes) {
// Do something
}
}
}