toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'user_id': userId,
      'stream_id': streamId,
      'x': x,
      'y': y,
      'width': width,
      'height': height,
    };