ServerReplicationConfiguration.fromJson constructor

ServerReplicationConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ServerReplicationConfiguration.fromJson(Map<String, dynamic> json) {
  return ServerReplicationConfiguration(
    server: json['server'] != null
        ? Server.fromJson(json['server'] as Map<String, dynamic>)
        : null,
    serverReplicationParameters: json['serverReplicationParameters'] != null
        ? ServerReplicationParameters.fromJson(
            json['serverReplicationParameters'] as Map<String, dynamic>)
        : null,
  );
}