mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
22 lines
469 B
Dart
22 lines
469 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
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;
|
|
|
|
PosSpec({this.coordinatePos, this.axisX, this.axisY});
|
|
|
|
factory PosSpec.fromJson(Map<String, dynamic> json) {
|
|
return _$PosSpecFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$PosSpecToJson(this);
|
|
}
|