Scroll.deserialize constructor Null safety
- Map<
String, String> json, - DeserializeFinderFactory finderFactory
Deserializes this command from the value generated by serialize.
Implementation
Scroll.deserialize(super.json, super.finderFactory)
: dx = double.parse(json['dx']!),
dy = double.parse(json['dy']!),
duration = Duration(microseconds: int.parse(json['duration']!)),
frequency = int.parse(json['frequency']!),
super.deserialize();