Files
hlaskovnik-reimagined/frontend/lib/repository/quote_repository_mock.dart
T
2026-03-22 20:05:31 +01:00

16 lines
484 B
Dart

// talks to the DB itself
// TODO: mock for now!
import 'package:frontend/model/quote.dart';
class QuoteRepository {
//final String _dbBaseUrl = 'https://hlaskovnik-reimagined-latest.onrender.com';
Future<List<Quote>> getQuotes() async {
return [
Quote(id: 1, author: 'Adam', body: 'kratom je vule bozi'),
Quote(id: 2, author: 'Vojta', body: 'kalach s kecupem'),
Quote(id: 3, author: 'Anton', body: 'have you ever noticed how long cows are'),
];
}
}