serialize method Null safety
override
Serializes this command to parameter name/value pairs.
Implementation
@override
Map<String, String> serialize() => super.serialize()..addAll(<String, String>{
if (message != null)
'message': message!,
});