fix: Crashing due to incorrect type casting
This commit is contained in:
@@ -26,7 +26,8 @@ class MoxdnsLinuxPlugin extends MoxdnsPlatform {
|
||||
if (record == null) {
|
||||
continue;
|
||||
}
|
||||
final rr = Map<String, String>.from(record as Map<String, String>);
|
||||
// ignore: argument_type_not_assignable
|
||||
final rr = Map<String, String>.from(record);
|
||||
records.add(
|
||||
SrvRecord(
|
||||
rr['target']!,
|
||||
|
||||
Reference in New Issue
Block a user