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.

24 lines
592 B

import 'package:equatable/equatable.dart';
class CodeResult extends Equatable {
//
final String? message;
final int? statusCode;
final bool? exist;
final String? code;
CodeResult({this.message, this.statusCode, this.exist, this.code}) : super();
static CodeResult fromJson(dynamic json) {
return CodeResult(
message: json["message"],
statusCode: json["status_code"],
exist: json["data"]["exist"],
code: json["data"]["code"]);
}
@override
List<Object> get props =>
[this.message!, this.statusCode!, this.exist!, this.code!];
}