WidgetAttachmentConfig.fromJson constructor
Implementation
factory WidgetAttachmentConfig.fromJson(Map<String, dynamic> json) => WidgetAttachmentConfig(
maxSize: json['maxSize'],
isEnabled: json['isEnabled'],
allowedExtensions: (json['allowedExtensions'] as List<dynamic>?)
?.map((e) => e as String)
.toSet(),);