16 lines
484 B
Dart
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'),
|
|
];
|
|
}
|
|
} |