toJson method
Implementation
@override
Map<String, dynamic>? toJson(OrdinalSortKey? object) {
if (object == null) return null;
return {
'name': object.name,
'order': object.order,
};
}
@override
Map<String, dynamic>? toJson(OrdinalSortKey? object) {
if (object == null) return null;
return {
'name': object.name,
'order': object.order,
};
}