棉花app新增页面
This commit is contained in:
20
lib/controller/mh/issue_preview_controller.dart
Normal file
20
lib/controller/mh/issue_preview_controller.dart
Normal file
@@ -0,0 +1,20 @@
|
||||
import 'package:ef/ef.dart';
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
|
||||
part 'issue_preview_controller.g.dart';
|
||||
|
||||
@JsonSerializable()
|
||||
class IssuePreviewInfoModel {
|
||||
|
||||
IssuePreviewInfoModel();
|
||||
|
||||
static IssuePreviewInfoModel fromJson(Map<String, dynamic> json) =>
|
||||
_$IssuePreviewInfoModelFromJson(json);
|
||||
Map<String, dynamic> toJson() => _$IssuePreviewInfoModelToJson(this);
|
||||
}
|
||||
|
||||
class IssuePreviewInfoController extends GetControllerEx<IssuePreviewInfoModel> {
|
||||
IssuePreviewInfoController() {
|
||||
attr = GetModel(IssuePreviewInfoModel()).obs;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user