NoTransientCallbacks.deserialize constructor Null safety
Factory constructor to parse a NoTransientCallbacks instance from the given JSON map.
The json
argument must not be null.
Implementation
factory NoTransientCallbacks.deserialize(Map<String, String> json) {
assert(json != null);
if (json['conditionName'] != 'NoTransientCallbacksCondition') {
throw SerializationException('Error occurred during deserializing the NoTransientCallbacksCondition JSON string: $json');
}
return const NoTransientCallbacks();
}