MediaConfig.fromJson constructor

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

Implementation

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