UContentUpdateParams.fromMap constructor

UContentUpdateParams.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory UContentUpdateParams.fromMap(Map<String, dynamic> json) => UContentUpdateParams(
      id: json["id"],
      title: json["title"],
      subTitle: json["subTitle"],
      description: json["description"],
      instagram: json["instagram"],
      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)),
    );