ServerConfig.fromJson constructor

ServerConfig.fromJson(
  1. Map<String, Object?> json
)

Implementation

ServerConfig.fromJson(Map<String, Object?> json)
    : mUploadSize =
          ((v) => v != null ? v as int : null)(json['m.upload.size']);