logout method Null safety

Future<V2TimCallback> logout()

Log out

To log out, if you switch accounts, you can log in again only after the logout callback succeeds or fails, otherwise the login may fail. 

Implementation

Future<V2TimCallback> logout() async {
  return ImFlutterPlatform.instance.logout();
}