decode static method

Implementation

static RollaBandMotionSyncResponse decode(Object result) {
  result as List<Object?>;
  return RollaBandMotionSyncResponse(
    motionPoints: (result[0] as List<Object?>?)!.cast<RollaBandMotionPoint>(),
  );
}