UTicketUpdateParams.fromMap constructor
UTicketUpdateParams.fromMap(
- Map<String, dynamic> json
)
Implementation
factory UTicketUpdateParams.fromMap(Map<String, dynamic> json) => UTicketUpdateParams(
id: json["id"],
title: json["title"],
description: json["description"],
instagram: json["instagram"],
telegram: json["telegram"],
whatsapp: json["whatsapp"],
phone: json["phone"],
addTags: json["addTags"] == null ? null : List<int>.from(json["addTags"]!.map((dynamic x) => x)),
removeTags: json["removeTags"] == null ? null : List<int>.from(json["removeTags"]!.map((dynamic x) => x)),
detail1: json["detail1"],
detail2: json["detail2"],
tags: json["tags"] == null ? <int>[] : List<int>.from(json["tags"]!.map((dynamic x) => x)),
adminUserIds: json["adminUserIds"] == null ? <String>[] : List<String>.from(json["adminUserIds"]!.map((dynamic x) => x)),
addAdminUserIds: json["addAdminUserIds"] == null ? <String>[] : List<String>.from(json["addAdminUserIds"]!.map((dynamic x) => x)),
removeAdminUserIds: json["removeAdminUserIds"] == null ? <String>[] : List<String>.from(json["removeAdminUserIds"]!.map((dynamic x) => x)),
);