toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'state': state.wire,
      'coordinatorBusy': coordinatorBusy,
      'retryQueueDepth': retryQueueDepth,
      if (reconnectState != null) 'reconnectState': reconnectState,
      'transactionInProgress': transactionInProgress,
      'schedulerRunning': schedulerRunning,
      if (persistenceHealthy != null) 'persistenceHealthy': persistenceHealthy,
    };