start method

  1. @override
Future<bool> start({
  1. bool refresh = false,
  2. String? key,
})
override

Implementation

@override
Future<bool> start({bool refresh = false, String? key}) async
{
  bool ok = true;
  try
  {
    Reader().registerListener(this);
  }
  catch(e)
  {
    ok = await onFail(Data(), code: 500, message: e.toString());
  }
  return ok;
}