online method

Future online(
  1. bool val
)

Implementation

Future online(bool val) async {
  if (_profile == null) return;
  await dio.post('/account/online/?online=$val');
}