SortBy.fromMap constructor
- 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];
}
map => SortBy
SortBy.fromMap(Map map) : assert(map != null) {
fieldName = map['fieldName'];
sortType = map['sortType'] == null
? null
: SortType.values[map['sortType'] as int];
}