ScrollIntoView.deserialize constructor Null safety

ScrollIntoView.deserialize(
  1. Map<String, String> json,
  2. DeserializeFinderFactory finderFactory
)

Deserializes this command from the value generated by serialize.

Implementation

ScrollIntoView.deserialize(super.json, super.finderFactory)
  : alignment = double.parse(json['alignment']!),
    super.deserialize();