

import 'dart:convert';

ChangeMobile changeMobileFromJson(String str) => ChangeMobile.fromJson(json.decode(str));

String changeMobileToJson(ChangeMobile data) => json.encode(data.toJson());

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

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

  ChangeMobile.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? userToken;

  Data({this.userToken});

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

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