Parses from wire JSON.
factory PluginConfig.fromJson(Map<String, dynamic> json) => PluginConfig(path: json['path'] as String);