Added Nextcloud base
This commit is contained in:
.idea/libraries
assets/background
flutter_01.loglib
api
apiParams.dartapiRequest.dartapiResponse.dartrequestCache.dart
app.dartmarianumcloud
talk
chat
getChat.dartgetChatCache.dartgetChatParams.dartgetChatParams.g.dartgetChatResponse.dartgetChatResponse.g.dart
room
getRoom.dartgetRoomCache.dartgetRoomParams.dartgetRoomParams.g.dartgetRoomResponse.dartgetRoomResponse.g.dart
talkApi.darttalkError.dartwebdav
talk
webuntis
data
main.dartscreen
macos/Flutter
pubspec.yaml@ -1,6 +1,6 @@
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:marianum_mobile/api/webuntis/apiResponse.dart';
|
||||
import 'package:marianum_mobile/api/apiResponse.dart';
|
||||
import 'package:marianum_mobile/api/webuntis/webuntisApi.dart';
|
||||
|
||||
import 'getRoomsResponse.dart';
|
||||
|
@ -6,8 +6,8 @@ import 'package:marianum_mobile/api/webuntis/queries/getRooms/getRoomsResponse.d
|
||||
import 'getRooms.dart';
|
||||
|
||||
class GetRoomsCache extends RequestCache<GetRoomsResponse> {
|
||||
GetRoomsCache({onUpdate}) : super(60 * 60, onUpdate) {
|
||||
start("rooms", "data");
|
||||
GetRoomsCache({onUpdate}) : super(RequestCache.cacheHour, onUpdate) {
|
||||
start("MarianumMobile", "wu-rooms");
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -1,5 +1,5 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
import 'package:marianum_mobile/api/webuntis/apiResponse.dart';
|
||||
import 'package:marianum_mobile/api/apiResponse.dart';
|
||||
|
||||
part 'getRoomsResponse.g.dart';
|
||||
|
||||
@ -21,7 +21,6 @@ class GetRoomsResponseObject {
|
||||
bool active;
|
||||
String building;
|
||||
|
||||
|
||||
GetRoomsResponseObject(this.id, this.name, this.longName, this.active, this.building);
|
||||
|
||||
factory GetRoomsResponseObject.fromJson(Map<String, dynamic> json) => _$GetRoomsResponseObjectFromJson(json);
|
||||
|
Reference in New Issue
Block a user