**STR:** ``` final foo = json.decode('{}').cast<String, Object>(); foo.remove('akey'); ``` https://github.com/dart-lang/sdk/blob/d44457f79d087b52a0468609d44013e5fd9f09f0/sdk/lib/internal/cast.dart#L280 is incorrect, since `remove` returns a nullable value even if the value type is non-null.
STR:
sdk/sdk/lib/internal/cast.dart
Line 280 in d44457f
removereturns a nullable value even if the value type is non-null.