walkStepList property

Future<List<WalkStep>> walkStepList

步行步骤列表

Implementation

Future<List<WalkStep>> get walkStepList {
  return platform(android: (pool) async {
    return (await _androidModel.getSteps())
        .map((it) => WalkStep.android(it))
        .toList();
  }, ios: (pool) async {
    return (await _iosModel.get_steps())
        .map((it) => WalkStep.ios(it))
        .toList();
  });
}