toJson method

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

The rosbridge JSON representation of this message.

Implementation

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