LogxxItem.fromJson constructor
Implementation
factory LogxxItem.fromJson(Map<String, dynamic> json) {
final List? list = json["msg"];
List<String>? msgs;
if (null != list) {
msgs = [];
for (int i = 0, len = list.length; i < len; ++i) {
msgs.add(list[i].toString());
}
}
return LogxxItem(
prefix: json["prefix"],
msg: msgs,
);
}