Version.fromJson constructor

Version.fromJson(
  1. Map json_
)

Implementation

Version.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );