SetSemantics.deserialize constructor Null safety

SetSemantics.deserialize(
  1. Map<String, String> params
)

Deserializes this command from the value generated by serialize.

Implementation

SetSemantics.deserialize(super.params)
  : enabled = params['enabled']!.toLowerCase() == 'true',
    super.deserialize();