NoTransientCallbacks.deserialize constructor

NoTransientCallbacks.deserialize(
  1. Map<String, String> json
)

Factory constructor to parse a NoTransientCallbacks instance from the given JSON map.

Implementation

factory NoTransientCallbacks.deserialize(Map<String, String> json) {
  if (json['conditionName'] != 'NoTransientCallbacksCondition') {
    throw SerializationException('Error occurred during deserializing the NoTransientCallbacksCondition JSON string: $json');
  }
  return const NoTransientCallbacks();
}