SocketResultModel.fromJson constructor

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

Implementation

factory SocketResultModel.fromJson(Map<String, dynamic> json) => SocketResultModel(
  data: json["data"],
  messageType: json["messageType"],
);