class UserModel { int? iD; String? createdAt; String? updatedAt; String? deletedAt; String? name; String? companyname; String? email; String? phone; String? channel; String? url; String? cpfcnpj; String? usertype; String? blocked; String? cancelled; int? serverid; UserModel( {this.iD, this.createdAt, this.updatedAt, this.deletedAt, this.name, this.companyname, this.email, this.phone, this.channel, this.url, this.cpfcnpj, this.usertype, this.blocked, this.cancelled, this.serverid}); UserModel.fromJson(Map json) { iD = json['ID']; createdAt = json['CreatedAt']; updatedAt = json['UpdatedAt']; deletedAt = json['DeletedAt']; name = json['name']; companyname = json['companyname']; email = json['email']; phone = json['phone']; channel = json['channel']; url = json['url']; cpfcnpj = json['cpfcnpj']; usertype = json['usertype']; blocked = json['blocked']; cancelled = json['cancelled']; serverid = json['serverid']; } Map toJson() { final Map data = {}; data['ID'] = iD; data['CreatedAt'] = createdAt; data['UpdatedAt'] = updatedAt; data['DeletedAt'] = deletedAt; data['name'] = name; data['companyname'] = companyname; data['email'] = email; data['phone'] = phone; data['channel'] = channel; data['url'] = url; data['cpfcnpj'] = cpfcnpj; data['usertype'] = usertype; data['blocked'] = blocked; data['cancelled'] = cancelled; data['serverid'] = serverid; return data; } }