toJson method
Returns a JSON representation of this.
Implementation
@override
Map<String, Object?> toJson() => {
'runtimeType': 'OrderByExpr',
'expr': expr.toJson(),
'asc': (asc == null
? const None().toJson()
: Option.fromValue(asc).toJson()),
'nulls-first': (nullsFirst == null
? const None().toJson()
: Option.fromValue(nullsFirst).toJson()),
};