$Destination.fromJson constructor

$Destination.fromJson(
  1. Map json_
)

Implementation

$Destination.fromJson(core.Map json_)
    : this(
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
        serviceAttachment: json_.containsKey('serviceAttachment')
            ? json_['serviceAttachment'] as core.String
            : null,
      );