consolidated downloads dir, nextcloud origin, upload route and chat timestamps; added webdav path tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// coverage:ignore-file
|
||||
// ignore_for_file: type=lint
|
||||
// ignore_for_file: type=lint, type=warning, deprecated_member_use, deprecated_member_use_from_same_package
|
||||
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark
|
||||
|
||||
part of 'marianum_message_state.dart';
|
||||
@@ -9,6 +9,7 @@ part of 'marianum_message_state.dart';
|
||||
// FreezedGenerator
|
||||
// **************************************************************************
|
||||
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
// dart format off
|
||||
T _$identity<T>(T value) => value;
|
||||
|
||||
@@ -28,16 +29,21 @@ $MarianumMessageStateCopyWith<MarianumMessageState> get copyWith => _$MarianumMe
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumMessageState&&(identical(other.messageList, messageList) || other.messageList == messageList));
|
||||
final _this = this as MarianumMessageState;
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumMessageState&&(identical(other.messageList, _this.messageList) || other.messageList == _this.messageList));
|
||||
}
|
||||
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType,messageList);
|
||||
int get hashCode {
|
||||
final _this = this as MarianumMessageState;
|
||||
return Object.hash(runtimeType,_this.messageList);
|
||||
}
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'MarianumMessageState(messageList: $messageList)';
|
||||
final _this = this as MarianumMessageState;
|
||||
return 'MarianumMessageState(messageList: ${_this.messageList})';
|
||||
}
|
||||
|
||||
|
||||
@@ -66,7 +72,7 @@ class _$MarianumMessageStateCopyWithImpl<$Res>
|
||||
/// Create a copy of MarianumMessageState
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline') @override $Res call({Object? messageList = null,}) {
|
||||
return _then(_self.copyWith(
|
||||
return _then(MarianumMessageState(
|
||||
messageList: null == messageList ? _self.messageList : messageList // ignore: cast_nullable_to_non_nullable
|
||||
as MarianumMessageList,
|
||||
));
|
||||
@@ -236,16 +242,18 @@ Map<String, dynamic> toJson() {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumMessageState&&(identical(other.messageList, messageList) || other.messageList == messageList));
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumMessageState&&(identical(other.messageList, messageList) || other.messageList == messageList));
|
||||
}
|
||||
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType,messageList);
|
||||
int get hashCode {
|
||||
return Object.hash(runtimeType,messageList);
|
||||
}
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'MarianumMessageState(messageList: $messageList)';
|
||||
return 'MarianumMessageState(messageList: $messageList)';
|
||||
}
|
||||
|
||||
|
||||
@@ -309,16 +317,21 @@ $MarianumMessageListCopyWith<MarianumMessageList> get copyWith => _$MarianumMess
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumMessageList&&(identical(other.base, base) || other.base == base)&&const DeepCollectionEquality().equals(other.messages, messages));
|
||||
final _this = this as MarianumMessageList;
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumMessageList&&(identical(other.base, _this.base) || other.base == _this.base)&&const DeepCollectionEquality().equals(other.messages, _this.messages));
|
||||
}
|
||||
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType,base,const DeepCollectionEquality().hash(messages));
|
||||
int get hashCode {
|
||||
final _this = this as MarianumMessageList;
|
||||
return Object.hash(runtimeType,_this.base,const DeepCollectionEquality().hash(_this.messages));
|
||||
}
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'MarianumMessageList(base: $base, messages: $messages)';
|
||||
final _this = this as MarianumMessageList;
|
||||
return 'MarianumMessageList(base: ${_this.base}, messages: ${_this.messages})';
|
||||
}
|
||||
|
||||
|
||||
@@ -347,7 +360,7 @@ class _$MarianumMessageListCopyWithImpl<$Res>
|
||||
/// Create a copy of MarianumMessageList
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline') @override $Res call({Object? base = null,Object? messages = null,}) {
|
||||
return _then(_self.copyWith(
|
||||
return _then(MarianumMessageList(
|
||||
base: null == base ? _self.base : base // ignore: cast_nullable_to_non_nullable
|
||||
as String,messages: null == messages ? _self.messages : messages // ignore: cast_nullable_to_non_nullable
|
||||
as List<MarianumMessage>,
|
||||
@@ -491,7 +504,7 @@ return $default(_that.base,_that.messages);case _:
|
||||
@JsonSerializable()
|
||||
|
||||
class _MarianumMessageList implements MarianumMessageList {
|
||||
const _MarianumMessageList({required this.base, required final List<MarianumMessage> messages}): _messages = messages;
|
||||
const _MarianumMessageList({required this.base, required List<MarianumMessage> messages}): _messages = messages;
|
||||
factory _MarianumMessageList.fromJson(Map<String, dynamic> json) => _$MarianumMessageListFromJson(json);
|
||||
|
||||
@override final String base;
|
||||
@@ -516,16 +529,18 @@ Map<String, dynamic> toJson() {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumMessageList&&(identical(other.base, base) || other.base == base)&&const DeepCollectionEquality().equals(other._messages, _messages));
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumMessageList&&(identical(other.base, base) || other.base == base)&&const DeepCollectionEquality().equals(other.messages, _messages));
|
||||
}
|
||||
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType,base,const DeepCollectionEquality().hash(_messages));
|
||||
int get hashCode {
|
||||
return Object.hash(runtimeType,base,const DeepCollectionEquality().hash(_messages));
|
||||
}
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'MarianumMessageList(base: $base, messages: $messages)';
|
||||
return 'MarianumMessageList(base: $base, messages: $messages)';
|
||||
}
|
||||
|
||||
|
||||
@@ -581,16 +596,21 @@ $MarianumMessageCopyWith<MarianumMessage> get copyWith => _$MarianumMessageCopyW
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumMessage&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.date, date) || other.date == date)&&(identical(other.description, description) || other.description == description)&&(identical(other.url, url) || other.url == url));
|
||||
final _this = this as MarianumMessage;
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is MarianumMessage&&(identical(other.id, _this.id) || other.id == _this.id)&&(identical(other.name, _this.name) || other.name == _this.name)&&(identical(other.date, _this.date) || other.date == _this.date)&&(identical(other.description, _this.description) || other.description == _this.description)&&(identical(other.url, _this.url) || other.url == _this.url));
|
||||
}
|
||||
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType,id,name,date,description,url);
|
||||
int get hashCode {
|
||||
final _this = this as MarianumMessage;
|
||||
return Object.hash(runtimeType,_this.id,_this.name,_this.date,_this.description,_this.url);
|
||||
}
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'MarianumMessage(id: $id, name: $name, date: $date, description: $description, url: $url)';
|
||||
final _this = this as MarianumMessage;
|
||||
return 'MarianumMessage(id: ${_this.id}, name: ${_this.name}, date: ${_this.date}, description: ${_this.description}, url: ${_this.url})';
|
||||
}
|
||||
|
||||
|
||||
@@ -619,7 +639,7 @@ class _$MarianumMessageCopyWithImpl<$Res>
|
||||
/// Create a copy of MarianumMessage
|
||||
/// with the given fields replaced by the non-null parameter values.
|
||||
@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? name = null,Object? date = null,Object? description = null,Object? url = null,}) {
|
||||
return _then(_self.copyWith(
|
||||
return _then(MarianumMessage(
|
||||
id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
|
||||
as String,name: null == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
|
||||
as String,date: null == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
|
||||
@@ -788,16 +808,18 @@ Map<String, dynamic> toJson() {
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumMessage&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.date, date) || other.date == date)&&(identical(other.description, description) || other.description == description)&&(identical(other.url, url) || other.url == url));
|
||||
return identical(this, other) || (other.runtimeType == runtimeType&&other is _MarianumMessage&&(identical(other.id, id) || other.id == id)&&(identical(other.name, name) || other.name == name)&&(identical(other.date, date) || other.date == date)&&(identical(other.description, description) || other.description == description)&&(identical(other.url, url) || other.url == url));
|
||||
}
|
||||
|
||||
@JsonKey(includeFromJson: false, includeToJson: false)
|
||||
@override
|
||||
int get hashCode => Object.hash(runtimeType,id,name,date,description,url);
|
||||
int get hashCode {
|
||||
return Object.hash(runtimeType,id,name,date,description,url);
|
||||
}
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'MarianumMessage(id: $id, name: $name, date: $date, description: $description, url: $url)';
|
||||
return 'MarianumMessage(id: $id, name: $name, date: $date, description: $description, url: $url)';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user