You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
602 B
27 lines
602 B
4 years ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'verify_code.g.dart';
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class VerifyCode {
|
||
|
VerifyCode();
|
||
|
int code;
|
||
|
Map<String, dynamic> data;
|
||
|
BaseDataExtra extra;
|
||
|
bool isError;
|
||
|
bool isSuccess;
|
||
|
String msg;
|
||
|
String path;
|
||
|
String timestamp;
|
||
|
|
||
|
factory VerifyCode.fromJson(Map<String, dynamic> json) => _$VerifyCodeFromJson(json);
|
||
|
Map<String, dynamic> toJson() => _$VerifyCodeToJson(this);
|
||
|
}
|
||
|
|
||
|
class BaseDataExtra {
|
||
|
BaseDataExtra();
|
||
|
|
||
|
factory BaseDataExtra.fromJson(Map<String, dynamic> json) => BaseDataExtra();
|
||
|
Map<String, dynamic> toJson() => {};
|
||
|
|
||
|
}
|