Refactor member page (#3)

* refactor: member page

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip
This commit is contained in:
bggRGjQaUbCoE
2024-10-17 11:18:59 +08:00
committed by GitHub
parent 270bf0a4b6
commit f77088b870
205 changed files with 70072 additions and 119 deletions

View File

@@ -0,0 +1,21 @@
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);
}