SocketConnectCloseModel.fromJson constructor

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

Implementation

factory SocketConnectCloseModel.fromJson(Map<String, dynamic> json) => SocketConnectCloseModel(
  code: json["code"],
  message: json["message"],
  remote: json["remote"].toString() == "true",
);