You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (inputData != null) {
for (final entry in inputData.entries) {
final key = entry.key;
final value = entry.value;
if (!(value is int ||
value is bool ||
value is double ||
value is String ||
value is List<int> ||
value is List<bool> ||
value is List<double> ||
value is List<String>)) {
throw Exception(
"argument $key has wrong type. WorkManager supports only int, bool, double, String and their list");
}
}
}
I want to send dynamic object to inputData. It has an error because you check datatype of input data
The text was updated successfully, but these errors were encountered:
I want to send dynamic object to inputData. It has an error because you check datatype of input data
The text was updated successfully, but these errors were encountered: