GetAppReplicationConfigurationResponse.fromJson constructor

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

Implementation

factory GetAppReplicationConfigurationResponse.fromJson(
    Map<String, dynamic> json) {
  return GetAppReplicationConfigurationResponse(
    serverGroupReplicationConfigurations:
        (json['serverGroupReplicationConfigurations'] as List?)
            ?.whereNotNull()
            .map((e) => ServerGroupReplicationConfiguration.fromJson(
                e as Map<String, dynamic>))
            .toList(),
  );
}