FirstFrameRasterized.deserialize constructor

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

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

Implementation

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