ProtocolMessage.fromMap constructor

ProtocolMessage.fromMap(
  1. Map<String, Object?> obj
)

Implementation

ProtocolMessage.fromMap(Map<String, Object?> obj)
    : seq = obj['seq'] as int,
      type = obj['type'] as String;