PluginMarketplaceEntry.fromJson constructor

PluginMarketplaceEntry.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PluginMarketplaceEntry.fromJson(Map<String, dynamic> json) {
  return PluginMarketplaceEntry(
    name: json['name'] as String? ?? '',
    description: json['description'] as String?,
    version: json['version'] as String?,
    source: json['source'],
    category: json['category'] as String?,
    tags: (json['tags'] as List?)?.cast<String>(),
    strict: json['strict'] as bool?,
    id: json['id'] as String?,
    autoUpdate: json['autoUpdate'] as bool?,
  );
}