Library.fromJson constructor

Library.fromJson(
  1. Map json_
)

Implementation

Library.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,
      );