laboratory_5
This commit is contained in:
parent
1430fe1986
commit
2e76874a1a
@ -7,7 +7,6 @@ import 'package:pmd/models/card_data.dart';
|
||||
import 'package:pmd/repositories/api_interface.dart';
|
||||
import 'package:pretty_dio_logger/pretty_dio_logger.dart';
|
||||
|
||||
import '../data/dtos/houses_dto.dart';
|
||||
|
||||
class PotterRepository extends ApiInterface {
|
||||
static final Dio _dio = Dio(
|
||||
@ -15,7 +14,7 @@ class PotterRepository extends ApiInterface {
|
||||
..interceptors.add(
|
||||
PrettyDioLogger(request: true, requestHeader: true, requestBody: true));
|
||||
|
||||
static const String _baseUrl = "https://api.potterdb.com/v1"; //https://api.realtor.com/v1
|
||||
static const String _baseUrl = "https://api.potterdb.com/v1"; // https://api.realtor.com/v1
|
||||
|
||||
@override
|
||||
Future<List<CardData>?> loadData(String? q) async {
|
||||
|
Loading…
Reference in New Issue
Block a user