isBanned method

Future<bool> isBanned()

Returns if the current user is banned

Implementation

Future<bool> isBanned() {
  return NativeBridge.sync('CurrentUser.isBanned', '')
      .then((value) => jsonDecode(value)['result']);
}