SocketSendModel.sp constructor

SocketSendModel.sp({
  1. @Default("") @JsonKey(name: "type") String type,
  2. @JsonKey(name: "jsonString", toJson: modelToString) required SpView model,
})

Implementation

factory SocketSendModel.sp(
    {@Default("") @JsonKey(name: "type") String type,
    @JsonKey(name: "jsonString", toJson: modelToString)
    required SpView model}) = SpViewSendModel;