toJson method

  1. @override
Map<String, Object?> toJson()

The rosbridge JSON representation of this message.

Implementation

@override
Map<String, Object?> toJson() => {
      'id': id,
      'parent_id': parentId,
      'title': title,
      'command': command,
      'command_type': commandType,
    };