

import 'dart:convert';

ConfirmEmail confirmEmailFromJson(String str) => ConfirmEmail.fromJson(json.decode(str));

String confirmEmailToJson(ConfirmEmail data) => json.encode(data.toJson());

class ConfirmEmail {
  int? messageStatus;
  Null? totalItemsCount;
  Data? data;
  String? message;

  ConfirmEmail(
      {this.messageStatus, this.totalItemsCount, this.data, this.message});

  ConfirmEmail.fromJson(Map<String, dynamic> json) {
    messageStatus = json['messageStatus'];
    totalItemsCount = json['totalItemsCount'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
    message = json['message'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['messageStatus'] = this.messageStatus;
    data['totalItemsCount'] = this.totalItemsCount;
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    data['message'] = this.message;
    return data;
  }
}

class Data {
  String? userID;

  Data({this.userID});

  Data.fromJson(Map<String, dynamic> json) {
    userID = json['userID'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userID'] = this.userID;
    return data;
  }
}