CreateDataSourceResponse.fromJson constructor

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

Implementation

factory CreateDataSourceResponse.fromJson(Map<String, dynamic> json) {
  return CreateDataSourceResponse(
    dataSource: json['dataSource'] != null
        ? DataSource.fromJson(json['dataSource'] as Map<String, dynamic>)
        : null,
  );
}