Socket.fromJson constructor

Socket.fromJson(
  1. String source
)

Implementation

factory Socket.fromJson(String source) => Socket.fromMap(json.decode(source));