toJson method

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

The rosbridge JSON representation of this message.

Implementation

@override
Map<String, Object?> toJson() => {
      'data': data,
    };