import 'package:json_annotation/json_annotation.dart'; part 'verify_code.g.dart'; @JsonSerializable(explicitToJson: true) class VerifyCode { VerifyCode(); int? code; Map? data; dynamic extra; bool? isError; bool? isSuccess; String? msg; String? path; String? timestamp; factory VerifyCode.fromJson(Map json) => _$VerifyCodeFromJson(json); Map toJson() => _$VerifyCodeToJson(this); }