create static method
return original data json
Implementation
static SocketError create({
String? special_type,
String? message,
String? description,
String? error,
}) {
SocketError socketError = SocketError({
"@type": special_type,
"message": message,
"description": description,
"error": error,
});
return socketError;
}