fromJson static method

dynamic fromJson(
  1. Map<String, dynamic> json
)

from json map

Implementation

static fromJson(Map<String, dynamic> json) {
  return Msg(
      code: json["code"],
      body: json["body"],
      module: json["module"],
      level: json["level"]);
}