mirror of
https://gitlab.com/moepoi/neonime-app.git
synced 2024-11-15 11:36:29 +01:00
11 lines
277 B
Dart
11 lines
277 B
Dart
|
import 'dart:convert';
|
||
|
import 'package:http/http.dart' as http;
|
||
|
|
||
|
final appVersion = '1.0.0';
|
||
|
|
||
|
dynamic initializer() async {
|
||
|
final urlConfig = 'https://moepoi.dev/test.json';
|
||
|
final response = await http.get(urlConfig);
|
||
|
var res = json.decode(response.body);
|
||
|
return res;
|
||
|
}
|