toMap method
Returns a Map representation of this OrderOption object, with keys corresponding to the property names.
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{'type': type.index, 'asc': asc};
}
Returns a Map representation of this OrderOption object, with keys corresponding to the property names.
Map<String, dynamic> toMap() {
return <String, dynamic>{'type': type.index, 'asc': asc};
}