serialize method Null safety

  1. @override
Map<String, String> serialize()
override

Serializes this command to parameter name/value pairs.

Implementation

@override
Map<String, String> serialize() => super.serialize()..addAll(<String, String>{
  'text': text,
});