Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 999 Bytes

Migration-Guide.md

File metadata and controls

51 lines (36 loc) · 999 Bytes

Migration Guide

The document only describes the equivalent changes to the API. If you want to see the new feature support, please refer to readme and change log.

0.6.x to 1.0.0

This version is a null-safety version.

Please read document for null-safety information in dart or flutter.

0.5.x To 0.6.x

0.5.x:

final dtCond = DateTimeCond(
    min: startDt,
    max: endDt,
    asc: asc,
);

FilterOptionGroup().dateTimeCond = dtCond;

0.6.x

final dtCond = DateTimeCond(
    min: startDt,
    max: endDt,
);

final orderOption = OrderOption(
  type: OrderOptionType.createDate,
  asc: asc,
);

final filterOptionGroup = FilterOptionGroup()
..addOrderOption(orderOption);