fromJson static method

TencentCloudChatCustomSticker fromJson(
  1. dynamic json
)

Implementation

static TencentCloudChatCustomSticker fromJson(json) {
  return TencentCloudChatCustomSticker(
    name: json["name"] ?? "",
    stickers: (List<Map<String, dynamic>>.from((json["stickers"] ?? []))).map((e) => TencentCloudChatCustomStickerItem.fromJson(e)).toList(),
    iconPath: json["iconPath"] ?? "",
    rowNum: json["rowNum"] ?? 7,
    type: json["type"] ?? 0,
    index: json["index"] ?? 0,
    iconSize: json["iconSize"] ?? 40,
  );
}