stock_points_rsp.g.dart 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'stock_points_rsp.dart';
  3. // **************************************************************************
  4. // JsonSerializableGenerator
  5. // **************************************************************************
  6. StockPointsRsp _$StockPointsRspFromJson(Map<String, dynamic> json) =>
  7. StockPointsRsp(
  8. x: (json['x'] as num?)?.toDouble(),
  9. y: (json['y'] as num?)?.toDouble(),
  10. partitionX: (json['partitionX'] as num?)?.toDouble(),
  11. partitionY: (json['partitionY'] as num?)?.toDouble(),
  12. partitionWidth: (json['partitionWidth'] as num?)?.toDouble(),
  13. partitionLength: (json['partitionLength'] as num?)?.toDouble(),
  14. layers: (json['layers'] as List<dynamic>?)
  15. ?.map((e) => (e as num?)?.toDouble())
  16. .toList(),
  17. );
  18. Map<String, dynamic> _$StockPointsRspToJson(StockPointsRsp instance) =>
  19. <String, dynamic>{
  20. 'x': instance.x,
  21. 'y': instance.y,
  22. 'partitionX': instance.partitionX,
  23. 'partitionY': instance.partitionY,
  24. 'partitionWidth': instance.partitionWidth,
  25. 'partitionLength': instance.partitionLength,
  26. 'layers': instance.layers,
  27. };