toInfoJson method

dynamic toInfoJson()

Implementation

dynamic toInfoJson() {
  return {
    'state': ready ? 'ready' : 'init',
  };
}