everything build but untested & migration not finished

This commit is contained in:
Fabian Freund
2024-10-09 13:27:42 +02:00
parent 37d2c84d7f
commit 2c71eeb670
132 changed files with 3790 additions and 2817 deletions
@@ -1,6 +1,5 @@
import 'dart:convert';
import 'package:collection/collection.dart';
import 'package:exceptions/exceptions.dart';
import 'package:flutter/foundation.dart';
import 'package:http/http.dart' as http;
@@ -30,10 +29,7 @@ class HostSourceService extends _$HostSourceService {
);
final matches = hostRegex.allMatches(utf8.decode(args[0]));
return matches
.map((match) => match.group(2))
.whereNotNull()
.toSet();
return matches.map((match) => match.group(2)).nonNulls.toSet();
},
[response.bodyBytes],
);
@@ -6,7 +6,7 @@ part of 'source.dart';
// RiverpodGenerator
// **************************************************************************
String _$hostSourceServiceHash() => r'26ac09fcd34cc37440eb643075984707e0e9bba3';
String _$hostSourceServiceHash() => r'6c1ee7bfde02cc542a4f55db666d49037fda187e';
/// See also [HostSourceService].
@ProviderFor(HostSourceService)