everything build but untested & migration not finished
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user