toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'title': title,
  'command': command,
  'kind': kind,
  if (message != null) 'message': message,
};