@override Map<String, dynamic> toJson() => <String, dynamic>{ 'direction': direction?.toJson(), 'offset': offset, 'limit': limit, '@type': constructor, };