RelationalDatabaseDataSourceConfig.fromJson constructor

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

Implementation

factory RelationalDatabaseDataSourceConfig.fromJson(
    Map<String, dynamic> json) {
  return RelationalDatabaseDataSourceConfig(
    rdsHttpEndpointConfig: json['rdsHttpEndpointConfig'] != null
        ? RdsHttpEndpointConfig.fromJson(
            json['rdsHttpEndpointConfig'] as Map<String, dynamic>)
        : null,
    relationalDatabaseSourceType:
        (json['relationalDatabaseSourceType'] as String?)
            ?.toRelationalDatabaseSourceType(),
  );
}