fromJson static method

PluginRequest fromJson(
  1. Map map
)

Implementation

static PluginRequest fromJson(Map map) {
  var proxy = TypedMapProxy(map);

  return PluginRequest(proxy.getTyped('name'),
      version: VersionCondition.parse(proxy.getTyped('version')),
      name: proxy.getTyped('name'));
}