LogUploadServerInfo

Configuration information of the log server.

class LogUploadServerInfo {
  const LogUploadServerInfo(
      {this.serverDomain, this.serverPath, this.serverPort, this.serverHttps});

  @JsonKey(name: 'serverDomain')
  final String? serverDomain;

  @JsonKey(name: 'serverPath')
  final String? serverPath;

  @JsonKey(name: 'serverPort')
  final int? serverPort;

  @JsonKey(name: 'serverHttps')
  final bool? serverHttps;

  factory LogUploadServerInfo.fromJson(Map<String, dynamic> json) =>
      _$LogUploadServerInfoFromJson(json);

  Map<String, dynamic> toJson() => _$LogUploadServerInfoToJson(this);
}

Properties

serverDomain
Domain name of the log server.
serverPath
Storage path of the log on the server.
serverPort
Port of the log server.
serverHttps
Whether the log server uses HTTPS protocol:
  • true: Uses HTTPS protocol.
  • false: Uses HTTP protocol.