fromMessage static method

InfoMessage fromMessage(
  1. Map<String, dynamic> msg
)

Implementation

static InfoMessage fromMessage(Map<String, dynamic> msg) {
  return InfoMessage(
    topic: msg['topic'],
    from: msg['from'],
    what: msg['what'],
    seq: msg['seq'],
  );
}