fromMessage static method

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

Implementation

static Credential fromMessage(Map<String, dynamic> msg) {
  return Credential(
    meth: msg['meth'],
    val: msg['val'],
    done: msg['done'],
  );
}