resは Map<String, dynamic>
型
final jsondata = res['jsondata'] as List<dynamic>;
というのがある
それに Map<String, dynamic>
型の値 mapVal
jsondata.add(mapVal);
ってのをする
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'Map<String, String?>' of 'value'