NamedPort.fromJson constructor

NamedPort.fromJson(
  1. Map json_
)

Implementation

NamedPort.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
      );