SortBy.fromMap constructor

SortBy.fromMap(
  1. Map map
)

map => SortBy

Implementation

SortBy.fromMap(Map map) : assert(map != null) {
  fieldName = map['fieldName'];
  sortType = map['sortType'] == null
      ? null
      : SortType.values[map['sortType'] as int];
}