flutterrealm_light

Android and iOS Library for Realm

Supported Platforms

  • IOS

How to Use

# add this line to your dependencies
fluterrealm: ^0.0.3
import 'package:flutterrealm_light/realm.dart';
    SyncCredentials syncCredentials =
        SyncCredentials(jwt, SyncCredentialsType.jwt);
    SyncUser user =
        await SyncUser.login(credentials: syncCredentials, server: server);

To logout

syncUser.logout()