parse static method

ServerPortResult parse(
  1. Map m
)

Implementation

static ServerPortResult parse(Map m) => new ServerPortResult(m['port']);