Location.fromJson constructor

Location.fromJson(
  1. Map json_
)

Implementation

Location.fromJson(core.Map json_)
    : this(
        cpeUri: json_.containsKey('cpeUri')
            ? json_['cpeUri'] as core.String
            : null,
        path: json_.containsKey('path') ? json_['path'] as core.String : null,
        version: json_.containsKey('version')
            ? Version.fromJson(
                json_['version'] as core.Map<core.String, core.dynamic>)
            : null,
      );