toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (lastActiveSyncTime != null)
        'lastActiveSyncTime': lastActiveSyncTime!,
      if (peerInstance != null) 'peerInstance': peerInstance!,
      if (state != null) 'state': state!,
      if (stateReasons != null) 'stateReasons': stateReasons!,
    };