LoggingServer.fromJson constructor

LoggingServer.fromJson(
  1. Map json_
)

Implementation

LoggingServer.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        hostname: json_.containsKey('hostname')
            ? json_['hostname'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
        protocol: json_.containsKey('protocol')
            ? json_['protocol'] as core.String
            : null,
        sourceType: json_.containsKey('sourceType')
            ? json_['sourceType'] as core.String
            : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );