toJson method

Map<String, dynamic> toJson()

Converts this sort specification to a JSON representation.

Implementation

Map<String, dynamic> toJson() => _$SortToJson(this);