toJson method

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

The rosbridge JSON representation of this message.

Implementation

@override
Map<String, Object?> toJson() => {
      'dim': dim.map((MultiArrayDimension e) => e.toJson()).toList(),
      'data_offset': dataOffset,
    };