AttachmentSettings.fromJson constructor
Implementation
factory AttachmentSettings.fromJson(Map<String, Object?> json) {
  return AttachmentSettings(
    enabled: json[r'enabled'] as bool? ?? false,
    uploadLimit: (json[r'uploadLimit'] as num?)?.toInt(),
  );
}