NoPendingFrame.deserialize constructor
Factory constructor to parse a NoPendingFrame instance from the given JSON map.
Implementation
factory NoPendingFrame.deserialize(Map<String, String> json) {
if (json['conditionName'] != 'NoPendingFrameCondition') {
throw SerializationException('Error occurred during deserializing the NoPendingFrameCondition JSON string: $json');
}
return const NoPendingFrame();
}