mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 00:56:31 +08:00
@@ -4,18 +4,18 @@ part 'pos_spec.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class PosSpec {
|
||||
@JsonKey(name: 'coordinate_pos')
|
||||
int? coordinatePos;
|
||||
@JsonKey(name: 'axis_x')
|
||||
double? axisX;
|
||||
@JsonKey(name: 'axis_y')
|
||||
double? axisY;
|
||||
@JsonKey(name: 'coordinate_pos')
|
||||
int? coordinatePos;
|
||||
@JsonKey(name: 'axis_x')
|
||||
double? axisX;
|
||||
@JsonKey(name: 'axis_y')
|
||||
double? axisY;
|
||||
|
||||
PosSpec({this.coordinatePos, this.axisX, this.axisY});
|
||||
PosSpec({this.coordinatePos, this.axisX, this.axisY});
|
||||
|
||||
factory PosSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$PosSpecFromJson(json);
|
||||
}
|
||||
factory PosSpec.fromJson(Map<String, dynamic> json) {
|
||||
return _$PosSpecFromJson(json);
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() => _$PosSpecToJson(this);
|
||||
Map<String, dynamic> toJson() => _$PosSpecToJson(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user