OutdatedLibrary.fromJson constructor

OutdatedLibrary.fromJson(
  1. Map json_
)

Implementation

OutdatedLibrary.fromJson(core.Map json_)
    : this(
        learnMoreUrls: json_.containsKey('learnMoreUrls')
            ? (json_['learnMoreUrls'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        libraryName: json_.containsKey('libraryName')
            ? json_['libraryName'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );