toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final lastActiveSyncTime = this.lastActiveSyncTime;
  final peerInstance = this.peerInstance;
  final state = this.state;
  final stateReasons = this.stateReasons;
  final stateUpdateTime = this.stateUpdateTime;
  return {
    'lastActiveSyncTime': ?lastActiveSyncTime,
    'peerInstance': ?peerInstance,
    'state': ?state,
    'stateReasons': ?stateReasons,
    'stateUpdateTime': ?stateUpdateTime,
  };
}