toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final server = this.server;
  final serverReplicationParameters = this.serverReplicationParameters;
  return {
    if (server != null) 'server': server,
    if (serverReplicationParameters != null)
      'serverReplicationParameters': serverReplicationParameters,
  };
}