create static method

SocketConnection create({
  1. String? special_type,
  2. String? status,
})
override

return original data json

Implementation

static SocketConnection create({
  String? special_type,
  String? status,
}) {
  SocketConnection socketConnection = SocketConnection({
    "@type": special_type,
    "status": status,
  });

  return socketConnection;
}