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