Map<String, dynamic> toMap() { return <String, dynamic>{ 'streamId': streamId, 'limit': limit, 'reverse': reverse, 'registerId': registerId, }; }